mysql odbc connector build error

mysql odbc connector build error

am 02.06.2008 12:16:15 von Niklesh.Jethwa

------_=_NextPart_001_01C8C499.B0CE496E
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I have been following the instructions on:
http://dev.mysql.com/doc/refman/5.0/en/myodbc-installation-s ource-unix.ht=
ml

but when I run "make" command I get the following errors:


[root@NikDev1 mysql-connector-odbc-5.1.4r1107]# make
Making all in util
make[1]: Entering directory =
`/home/jethwan/Download/mysql-connector-odbc-5.1.4r1107/util '
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory =
`/home/jethwan/Download/mysql-connector-odbc-5.1.4r1107/util '
Making all in driver
make[1]: Entering directory =
`/home/jethwan/Download/mysql-connector-odbc-5.1.4r1107/driv er'
make all-am
make[2]: Entering directory =
`/home/jethwan/Download/mysql-connector-odbc-5.1.4r1107/driv er'
/bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc -O3 -DDBUG_OFF =
-I/usr/local/mysql/include -g -O2 -o libmyodbc5.la -rpath =
/usr/local/lib -release 5.1.4 -module libmyodbc5_la-ansi.lo =
libmyodbc5_la-catalog.lo libmyodbc5_la-connect.lo =
libmyodbc5_la-cursor.lo libmyodbc5_la-desc.lo libmyodbc5_la-dll.lo =
libmyodbc5_la-driver.lo libmyodbc5_la-error.lo libmyodbc5_la-execute.lo =
libmyodbc5_la-handle.lo libmyodbc5_la-info.lo libmyodbc5_la-options.lo =
libmyodbc5_la-prepare.lo libmyodbc5_la-results.lo =
libmyodbc5_la-transact.lo libmyodbc5_la-unicode.lo =
libmyodbc5_la-utility.lo ../util/libmyodbc3u.la -L/usr/lib -lltdl =
-L/usr/local/mysql/lib -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm =
-lpthread -lz -L/usr/local/unixODBC/lib -lodbcinst
gcc -shared .libs/libmyodbc5_la-ansi.o .libs/libmyodbc5_la-catalog.o =
..libs/libmyodbc5_la-connect.o .libs/libmyodbc5_la-cursor.o =
..libs/libmyodbc5_la-desc.o .libs/libmyodbc5_la-dll.o =
..libs/libmyodbc5_la-driver.o .libs/libmyodbc5_la-error.o =
..libs/libmyodbc5_la-execute.o .libs/libmyodbc5_la-handle.o =
..libs/libmyodbc5_la-info.o .libs/libmyodbc5_la-options.o =
..libs/libmyodbc5_la-prepare.o .libs/libmyodbc5_la-results.o =
..libs/libmyodbc5_la-transact.o .libs/libmyodbc5_la-unicode.o =
..libs/libmyodbc5_la-utility.o -Wl,--whole-archive =
.../util/.libs/libmyodbc3u.a -Wl,--no-whole-archive -Wl,--rpath =
-Wl,/usr/local/unixODBC/lib -Wl,--rpath -Wl,/usr/local/unixODBC/lib =
-L/usr/lib -L/usr/local/mysql/lib -lltdl -lmysqlclient_r -lcrypt -lnsl =
-lm -lpthread -lz -L/usr/local/unixODBC/lib =
/usr/local/unixODBC/lib/libodbcinst.so -Wl,-soname =
-Wl,libmyodbc5-5.1.4.so -o .libs/libmyodbc5-5.1.4.so
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make[2]: *** [libmyodbc5.la] Error 1
make[2]: Leaving directory =
`/home/jethwan/Download/mysql-connector-odbc-5.1.4r1107/driv er'
make[1]: *** [all] Error 2
make[1]: Leaving directory =
`/home/jethwan/Download/mysql-connector-odbc-5.1.4r1107/driv er'
make: *** [all-recursive] Error 1

I am compiling on an i386 Linux platform running Fedora core 7.

Any help would be appreciated.

Regards
Nik.

Niklesh Jethwa=20
Engineer=20
Telecoms Systems - Radio & Transmission Services - Paknet / Paging=20

Mobile: +44 (0)7813 653028=20
E-mail: niklesh.jethwa@vodafone.com

Avon House, Horizon West, Hambridge Road,
Newbury, RG14 5XF

Vodafone Limited=20
Registered Office: Vodafone House, The Connection, Newbury, Berkshire, =
RG14 2FN=20
Registered in England No 1471587=20



------_=_NextPart_001_01C8C499.B0CE496E--