Re: newbie: informix+php4 problem
Posted in 2000
On Mon, 17 Jul 2000 wsoltys@lycos.de wrote: First try to compile apache with DSO nd compile php later as a Dynamic module of apache. > I try to configure php4 with informix as Apache module. Without > informix support there are no problems. With it I got the following > error in the debug.log: > > CONFIGURE: './configure' '--with-apache=../apache133' > '--enable-track-vars' '--enable-ftp' '--with-informix=yes' Try putting --with-informix=/path/to/informix/home > '--enable-libgcc' '-- > enable-bcmatch=yes' '--enable-memory-limit=yes' > '--enable-magic-quotes=yes' '--enable-trans-sid=yes' > '--enable-nodebug=yes' > ... > gcc -o conftest -g -O2 -I/usr/local/informix/incl/esql > -D_POSIX_PTHREAD_SEMANTICS -R/usr/local/informix/lib > -L/usr/local/informix/lib -R/usr/ > local/informix/lib/esql -L/usr/local/informix/lib/esql conftest.c > -lgd -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket -lgcc > -lixs > ql -lixasf -lixgen -lixos -lixgls -laio 1>&5 > Undefined first referenced > symbol in file > ifx_checkAPI > /usr/local/informix/lib/esql/libixsql.so > ld: fatal: Symbol referencing errors. No output written to conftest > collect2: ld returned 1 exit status Did you setup all the informix variables? INFORMIXDIR? Did you put the informix binarie directory in the path? Did you add the informix lib directory to the LD_LIBRARY_PATH? Try this! > Environment: > Solaris 2.6 > php4.0.1.p12 > INFORMIX-ESQL Version 7.20.UC2 > DB-Access Version 7.31.UC2A Almost the same here. Solaris 2.7, PHP-4.0.1, INFORMIX-OLDS-7.30 Luck!!! "And I'm happy, because you make me feel good, about me." - Melvin Udall ----------------------------------------------------------------- Mart'n Marqu's email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------