FW: Stop on AIX 5.3
am 19.09.2008 19:25:06 von Costas PiliotisI installed the MySQL 5.0.67 client with these flags:
./configure --enable-thread-safe-client --without-server
I installed unixODBC 2.2.12 with:
./configure --enable-gui=3Dno
Finally I run configure for mysql-connector-odbc-5.1.5r1144 with:
./configure --with-mysql-path=3D/usr/local --enable-gui=3Dno --with-unixO=
DBC=3D/usr/local --disable-shared --enable-thread-safe
It looks like it's looking for ltdl.h which is part of the unixODBC source.
Making all in util
if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG=
_H -I. -I. -I../driver -I.. -I/usr/local/include -O3 -DDBUG_OFF -I/usr/=
local/include/mysql -g -O2 -MT stringutil.lo -MD -MP -MF ".deps/stringutil.=
Tpo" -c -o stringutil.lo stringutil.c; then mv -f ".deps/stringutil.Tpo" "=
..deps/stringutil.Plo"; else rm -f ".deps/stringutil.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../driver -I.. -I/usr/local/include -O3 -DDB=
UG_OFF -I/usr/local/include/mysql -g -O2 -MT stringutil.lo -MD -MP -MF .dep=
s/stringutil.Tpo -c stringutil.c -o stringutil.o
if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG=
_H -I. -I. -I../driver -I.. -I/usr/local/include -O3 -DDBUG_OFF -I/usr/=
local/include/mysql -g -O2 -MT installer.lo -MD -MP -MF ".deps/installer.Tp=
o" -c -o installer.lo installer.c; then mv -f ".deps/installer.Tpo" ".deps=
/installer.Plo"; else rm -f ".deps/installer.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../driver -I.. -I/usr/local/include -O3 -DDB=
UG_OFF -I/usr/local/include/mysql -g -O2 -MT installer.lo -MD -MP -MF .deps=
/installer.Tpo -c installer.c -o installer.o
In file included from installer.h:31,
from installer.c:36:
.../MYODBC_ODBC.h:8:19: error: ltdl.h: No such file or directory
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
So I copy ltdl.h to /usr/local/include and get past this which is great, bu=
t I get this stop here:
/bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -O3 -DDBUG_OFF -I/usr/loca=
l/include/mysql -g -O2 -o myodbc-installer myodbc3i.o ..il/libmyodbc3u.=
la -L/usr/lib -lltdl -L/usr/local/lib/mysql -lmysqlclient_r -lz -lnsl_r -lm=
-lpthread -lodbc -lz -L/usr/local//lib -lodbcin
gcc -O3 -DDBUG_OFF -I/usr/local/include/mysql -g -O2 -o myodbc-installer my=
odbc3i.o ../util/.libs/libmyodbc3u.a -L/usr/lib -L/usr/local/liysql -L/usr=
/local//lib -lltdl -lmysqlclient_r -lnsl_r -lm -lpthread -L/usr/local/lib -=
lodbc -liconv -lz -lodbcinst -ldl -lthread -Wl,-blibp:/usr/local/lib/mysql:=
/usr/local/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/ 4.2.0:/opt/free=
ware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../..:/usr/lib:/li b
collect2: library libltdl not found
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Where do I go from here? Why is this such a pain on AIX?
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=3Dgcdmo-myodbc@m.gmane.o rg