trouble build mysql connector odbc 3.51.25

trouble build mysql connector odbc 3.51.25

am 03.06.2008 05:10:20 von Mason Nakadomari

--Boundary_(ID_0dh4VhSOey+LHSuu4BTI2w)
Content-type: multipart/alternative;
boundary="Boundary_(ID_R33iXbcqoPg0cfVLsHIxIQ)"

This is a multi-part message in MIME format.

--Boundary_(ID_R33iXbcqoPg0cfVLsHIxIQ)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline

Hi I do a successful configure using the following options with Solaris 8.

../configure --prefix=$PREFIX --with-mysql-path=$DIR2 --with-unixODBC=$DIR --enable-gui=no --enable-thread-safe --disable-shared

DIR is the unixODBC directory and DIR2 is the mysql client directory
Mysql client is 5.1.23 with threadsafe enabled and only client

When I try to do a make, I get the following.

bash-2.03# make
Making all in util
make[1]: Entering directory `/usr/local/UH_Packages/compile/mysqlodbc/mysql-connector-od bc-3.51.25r1093/util'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../driver -I/usr/local/spkg/UHunixODBC2.2.12/include -O3 -DDBUG_OFF -I/usr/local/spkg/UHmysqlclient5123rc/include/mysql -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/usr/local/UH_Packages/compile/mysqlclient/mysql-5.1.23-rc /include -DHAVE_RWLOCK_T -DUNIV_SOLARIS -g -O2 -MT MYODBCUtilAllocDataSource.lo -MD -MP -MF ".deps/MYODBCUtilAllocDataSource.Tpo" -c -o MYODBCUtilAllocDataSource.lo MYODBCUtilAllocDataSource.c; \
then mv -f ".deps/MYODBCUtilAllocDataSource.Tpo" ".deps/MYODBCUtilAllocDataSource.Plo"; else rm -f ".deps/MYODBCUtilAllocDataSource.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../driver -I/usr/local/spkg/UHunixODBC2.2.12/include -O3 -DDBUG_OFF -I/usr/local/spkg/UHmysqlclient5123rc/include/mysql -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/usr/local/UH_Packages/compile/mysqlclient/mysql-5.1.23-rc /include -DHAVE_RWLOCK_T -DUNIV_SOLARIS -g -O2 -MT MYODBCUtilAllocDataSource.lo -MD -MP -MF .deps/MYODBCUtilAllocDataSource.Tpo -c MYODBCUtilAllocDataSource.c -o MYODBCUtilAllocDataSource.o
In file included from MYODBCUtil.h:38,
from MYODBCUtilAllocDataSource.c:21:
.../MYODBC_ODBC.h:8:19: ltdl.h: No such file or directory
make[1]: *** [MYODBCUtilAllocDataSource.lo] Error 1
make[1]: Leaving directory `/usr/local/UH_Packages/compile/mysqlodbc/mysql-connector-od bc-3.51.25r1093/util'
make: *** [all-recursive] Error 1

I am not sure why I am getting this problem. Any help would be appreciated I found an article but it doesn't seem to work for me.

http://forums.mysql.com/read.php?117,208822,208998#msg-20899 8

thanks.

--Boundary_(ID_R33iXbcqoPg0cfVLsHIxIQ)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: quoted-printable
Content-disposition: inline

Hi I do a successful configure using the following options with Solaris =
8.
 
./configure --prefix=$PREFIX --with-=
mysql-path=$DIR2 --with-unixODBC=$DIR --enable-gui=3Dno --enable=
-thread-safe --disable-shared=3CBR> ry and DIR2 is the mysql client directory=3CBR=3EMysql client is 51=
23 with threadsafe enabled and only client=3CBR>  I try to do a make=2C I get the following.
  ash-203=23 make=3CBR=3EMaking all in util=3CBR=3Emake=5B1]: Enter=
ing directory =60/usr/local/UH=5FPackages/compile/mysqlodbc/mysql-connec=
tor-odbc-35125r1093/util' ag=3DCC --mode=3Dcompile gcc -DHAVE=5FCONFIG=5FH -I -I -I../dr=
iver=26nbsp; =3B -I/usr/local/spkg/UHunixODBC2212/include=26=
nbsp=3B -O3 -DDBUG=5FOFF -I/usr/local/spkg/UHmysqlclient5123rc/include/m=
ysql -D=5FFILE=5FOFFSET=5FBITS=3D64 -DHAVE=5FCURSES=5FH -I/usr/local/UH=5F=
Packages/compile/mysqlclient/mysql-5123-rc/include -DHAVE=5FRWLOCK=
=5FT -DUNIV=5FSOLARIS -g -O2 -MT MYODBCUtilAllocDataSourcelo -MD -MP =
-MF ".deps/MYODBCUtilAllocDataSourceTpo=22 -c -o MYODBCUtilAllocD=
ataSourcelo MYODBCUtilAllocDataSourcec=3B \ deps/MYODBCUtilAllocDataSourceTpo=22 ".deps/MYODBCUtilAllocDat=
aSourcePlo"; else rm -f ".deps/MYODBCUtilAllocDataSourceTp=
o"; exit 1=3B fi=3CBR> =3Bgcc -DHAVE=5FCONFIG=5FH -I -I=
-I../driver -I/usr/local/spkg/UHunixODBC2212/include -O3 -DDB=
UG=5FOFF -I/usr/local/spkg/UHmysqlclient5123rc/include/mysql -D=5FFILE=5F=
OFFSET=5FBITS=3D64 -DHAVE=5FCURSES=5FH -I/usr/local/UH=5FPackages/compil=
e/mysqlclient/mysql-5123-rc/include -DHAVE=5FRWLOCK=5FT -DUNIV=5FS=
OLARIS -g -O2 -MT MYODBCUtilAllocDataSourcelo -MD -MP -MF deps/MYO=
DBCUtilAllocDataSourceTpo -c MYODBCUtilAllocDataSourcec -o MYODBCU=
tilAllocDataSourceo=3CBR=3EIn file included from MYODBCUtilh=3A38=2C=
=3CBR>     =3B=2 6nbsp;&n=
bsp;     &n bsp;&nbs=
p;  =3B from MYODBCUtilAllocDataSourcec=3A21: >./MYODBC=5FODBCh=3A8=3A19=3A ltdlh=3A No such file or dire=
ctory=3CBR=3Emake=5B1]: *** =5BMYODBCUtilAllocDataSourcelo=5D Err=
or 1=3CBR=3Emake=5B1]: Leaving directory =60/usr/local/UH=5FPackages=
/compile/mysqlodbc/mysql-connector-odbc-35125r1093/uti l' make=3A *** =5Ball-recursive=5D Error 1=3CBR> =26nbsp=3BI am getting this problem Any help would be appreciated I f=
ound an=26nbsp=3Barticle but it=26nbsp=3Bdoesn=27t seem to work for me=
=3CBR> 
 Index | Impressum | Datenschutz | XODOX