Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89208 invoked by uid 1010); 29 Aug 2003 16:09:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89183 invoked from network); 29 Aug 2003 16:09:04 -0000 Received: from unknown (HELO x-wing.brouda.com) (64.105.158.38) by pb1.pair.com with SMTP; 29 Aug 2003 16:09:04 -0000 Received: from deadmime.org (x-wing.brouda.com [64.105.158.38]) by x-wing.brouda.com (8.12.8/8.12.2) with ESMTP id h7TG91D0074495; Fri, 29 Aug 2003 12:09:02 -0400 (EDT) Date: Fri, 29 Aug 2003 12:09:00 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: internals@lists.php.net To: "John Huntjens" In-Reply-To: <20030829152300.24495.qmail@pb1.pair.com> Message-ID: <19C9DAB0-DA3B-11D7-819E-000393121960@deadmime.org> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) Subject: Re: [PHP-DEV] compiling latest snapshot with iodbc From: dank@deadmime.org (Dan Kalowsky) References: <20030829152300.24495.qmail@pb1.pair.com> 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." dank-nom@aps-deadmime.org - "Streets of Philadelphia", kalowsky@php.net Bruce Springsteen