Re: FW: Stop on AIX 5.3

Jess Balint <[email protected]>
Newsgroups gmane.comp.db.mysql.odbc
Message-ID <[email protected]>
Costas,

You should install the GNU Libtool library
(http://www.gnu.org/software/libtool/).

- Jess

On Fri, Sep 19, 2008 at 10:25:06AM -0700, Costas Piliotis wrote:
> I 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=no
> 
> Finally I run configure for mysql-connector-odbc-5.1.5r1144 with:
>   ./configure --with-mysql-path=/usr/local --enable-gui=no --with-unixODBC=/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=CC --mode=compile 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 -DDBUG_OFF -I/usr/local/include/mysql -g -O2 -MT stringutil.lo -MD -MP -MF .deps/stringutil.Tpo -c stringutil.c -o stringutil.o
>         if /bin/sh ../libtool --tag=CC --mode=compile 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.Tpo" -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 -DDBUG_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, but I get this stop here:
> 
> 
> 
> 
> 
> /bin/sh ../libtool --tag=CC --mode=link gcc  -O3 -DDBUG_OFF -I/usr/local/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 myodbc3i.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/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../..:/usr/lib:/lib
> 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/[email protected]

-- 
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.