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-odbc-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-odbc-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-208998 thanks.
--
MySQL ODBC Mailing List
For list archives:
http://lists.mysql.com/myodbcTo unsubscribe:
http://lists.mysql.com/myodbc?unsub=lists@...