Click to See Complete Forum and Search --> : Can't install PHP with Informix support


mmucino
07-26-2001, 01:28 PM
Hi, I installed the Apache web server and the PHP without problems. But when I include the infromix support I get the following error:

# ./configure --prefix=/usr/internet/apache --with-perl=/usr/local/lib/perl5 --a
ctivate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.20
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for SCO 5 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

cd ..; gcc -DSCO5 -I/tmp/php-4.0.6 -I/tmp/php-4.0.6/main -I/tmp/php-4.0.6/main
-I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/TSRM -I/tmp/php-4.0
.6/TSRM -I/tmp/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
-o helpers/dummy helpers/dummy.c -L/usr/informix/lib -L/usr/informix/lib/
esql -L/tmp/php-4.0.6/ext/informix -L/usr/informix/lib -L/usr/informix/lib/esql
-L/tmp/php-4.0.6/ext/informix -Lmodules/php4 -L../modules/php4 -L../../modules/
php4 -lmodphp4 -lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i -lgen
-lsocket -lnsl -lsuds -ltinfo -lprot -lx -ltinfo -lc -lphpifx -lifglx -lcrypt -l
m -lsocket -lsocket -lsocket -lmalloc -lprot -ltinfo -lx -lm
Undefined first referenced
symbol in file
getspnam /usr/informix/lib/esql/libifos.so
helpers/dummy: fatal error: Symbol referencing errors. No output written to help
ers/dummy
make: *** [dummy] Error 1
======== Error Output for sanity check ========
============= End of Error Report =============

Aborting!

Of course, this is after running the following commands, wich have no problems:

# cd php-4.0.6
# ./configure --with-apache=../apache_1.3.20 --enable-track-vars --with-informix=/usr/informix
# make
# make install
# cd ../apache_1.3.20

The error looks like a problem in the informix library libifos.so

Can somebody help me? Thanks in advance.

Anon
10-12-2001, 10:45 AM
Hola, si te sirve de consuelo me pasa exactamente lo mismo!!!!, si lo pudiste solucionar please mandame un mail con la solución y si no al menos sufrimos juntos!!!
Mario