Bug #1228: PHP with Informix-Support doesn't compile
| From: | dnehring at telemedia dot de | Date: | Thu, 11 Mar 1999 23:09:42 +0000 |
| Subject: | Bug #1228: PHP with Informix-Support doesn't compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4581@lists.php.net to get a copy of this message | ||
From: dnehring@telemedia.de
Operating system: Solaris 2.6
PHP version: 3.0.7
PHP Bug Type: Compile Failure
Bug description: PHP with Informix-Support doesn't compile
I can't compile php-3.0.7 with Informix-Support enable (Clientsdk.2.20.UC1). the order of the
arguments for the final linking seems to be a little bit broken. I haven't figured out the
correct argument order, but the following works for me:
gcc -shared -s -O3 -DSOLARIS2=260 -fpic -DSHARED_MODULE -I/usr/local/tm/apache-1.3.4/include -o
mod_php3.so mod_php3.c /usr/local/ius/release/lib/esql/checkapi.o libmodphp3-so.a -Wl,-R/usr/ucblib
-Wl,-R/usr/local/tm/mysql/lib/mysql -L/usr/local/tm/mysql/lib/mysql -lmysqlclient -lldapssl30
-Wl,-R/usr/local/ius/release/lib -Wl,-R/usr/local/ius/release/lib/esql -L/usr/local/ius/release/lib
-L/usr/local/ius/release/lib/esql -lifsql -lifasf -lifgen -lifos -lifgls -lifglx -lgd -lpdf -lm
-lpam
(with some other packages). You should try to recompile it, you will see the problem. Btw., I use
egcs-1.0.3a.
--
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