Re: Bug #1228: PHP with Informix-Support doesn't compile

From: Date: Sat, 13 Mar 1999 10:02:21 +0000
Subject: Re: Bug #1228: PHP with Informix-Support doesn't compile
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-4598@lists.php.net to get a copy of this message
On Fri, Mar 12, 1999 at 08:30:55PM +0100, Christian Cartus wrote: > hay, > > the ifglx-lib is missing. strange, you need that lib. can you check the > lib-directory of you esql/c-distribution. maybe the defaultpath is > wrong. i have no probs with the SDK 2.01.UC1. No, you're wrong, the lib is there: -rw-r--r-- 2 informix informix 1184 Dec 22 00:23 libifglx.a -rwxr-xr-x 3 informix informix 2216 Dec 22 00:23 libifglx.so No lib is missing, the error message is not correct. The problem is the order of the arguments in the final linking stage. I have reordered the arguments (see last mail), and it works flawlessly as module for apache. I have SDK 2.20.UC1. Here is the last command executed mit apxs: ld -G -o libphp3.so mod_php3.o /usr/local/ius/release/lib/esql/checkapi.o -lifglx -ldb -lpam -lm -ldl -lsocket -lnsl -lresolv libmodphp3-so.a -L/usr/local/lib -L/usr/local/ius/release/lib -L/usr/local/ius/release/lib/esql -lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lsocket -laio -ldl -lelf As you see, the "-L/usr/local/ius/release/lib/esql" is set too late, it must be before "-lifglx". Dirk -- Dirk Nehring | Phone: +49 5241 80-1560 Telemedia GmbH & Co. KG | Fax: +49 5241 80-9518 Carl-Bertelsmann-Str. 161 I | EMail: dnehring@telemedia.de 33311 Gütersloh | -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#4598) next »