compiling latest snapshot with iodbc
| From: | John Huntjens | Date: | Fri, 29 Aug 2003 15:22:59 +0000 |
| Subject: | compiling latest snapshot with iodbc | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-4244@lists.php.net to get a copy of this message | ||
Latest snapshot with iodbc 3.51.0 i:
configure:
./configure \
--prefix=/usr/local/php5 \
--sysconfdir=/etc/php \
--localstatedir=/var/log/php \
--with-config-file-path=/etc/php \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-zlib-dir=/usr/local/zlib \
--with-libxml-dir=/usr/local/libxml \
--with-xsl=/usr/local/libxslt \
--with-interbase=/usr/local/firebird \
--with-iodbc=/usr/local/odbc \
--with-db4=/usr/local/berkeley-db \
--without-mysql \
--without-pear \
--with-ftp \
--with-dbase
Excerpt from debug.log:
gcc -o
onftest -g -O2 -L/usr/local/berkeley-db/lib -ldb-4.1 -Wl,-rpath,/usr/local
/zlib/lib -L/usr/local/zlib/lib -Wl,-rpath,/usr/local/berkeley-db/lib -L/usr
/local/berkeley-db/lib -Wl,-rpath,/usr/local/libxml/lib -L/usr/local/libxml/
lib -Wl,-rpath,/usr/local/firebird/lib -L/usr/local/firebird/lib -Wl,-rpath,
/usr/local/odbc/lib -L/usr/local/odbc/lib
conftest.c -liodbc -lgds -ldb-4.1 -lz -lresolv -lm -ldl -lnsl -lxml2 -lm -l
iodbc -lxml2 -lm 1>&5
/usr/local/odbc/lib/libiodbc.so: undefined reference to `SQLSetConfigMode'
/usr/local/odbc/lib/libiodbc.so: undefined reference to `SQLGetConfigMode'
/usr/local/odbc/lib/libiodbc.so: undefined reference to
`SQLGetPrivateProfileString'
collect2: ld returned 1 exit status
Whats going on here?
Gr,
John