Both should be defined in your iodbcinst.h file. Please check that.



On Friday, August 29, 2003, at 11:22 AM, John Huntjens wrote:

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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

>---------------------------------------------------------------<
Dan Kalowsky                    "I'll walk a thousand miles just
http://www.deadmime.org/~dank    to slip this skin."
[EMAIL PROTECTED]        - "Streets of Philadelphia",
[EMAIL PROTECTED]                        Bruce Springsteen

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to