[Q] Anyone success in building php4b3 + apache + informix?
Posted in 1999
Topics: Installation, Setup & Upgrades, Error Codes & Troubleshooting
I build php4 successfully and install it. but while building apache with php4 beta 3 + Informix, I met following errors. modules/php4/libphp4.a(ifx.o): In function `ifx_check': /usr/src/php-4.0b3/ext/informix/ifx.ec:212: undefined reference to `SQLSTATE' /usr/src/php-4.0b3/ext/informix/ifx.ec:213: undefined reference to `SQLSTATE' modules/php4/libphp4.a(ifx.o): In function `ifx_error': /usr/src/php-4.0b3/ext/informix/ifx.ec:244: undefined reference to `SQLCODE' /usr/src/php-4.0b3/ext/informix/ifx.ec:266: undefined reference to `SQLSTATE' /usr/src/php-4.0b3/ext/informix/ifx.ec:266: undefined reference to `SQLSTATE' /usr/src/php-4.0b3/ext/informix/ifx.ec:266: undefined reference to `SQLSTATE' /usr/src/php-4.0b3/ext/informix/ifx.ec:266: undefined reference to `SQLSTATE' /usr/src/php-4.0b3/ext/informix/ifx.ec:266: undefined reference to `SQLSTATE' modules/php4/libphp4.a(ifx.o): In function `_close_ifx_link': /usr/src/php-4.0b3/ext/informix/ifx.ec:287: undefined reference to `sqli_connect_set' /usr/src/php-4.0b3/ext/informix/ifx.ec:288: undefined reference to `sqli_connect_close' modules/php4/libphp4.a(ifx.o): In function `_close_ifx_plink': /usr/src/php-4.0b3/ext/informix/ifx.ec:301: undefined reference to `sqli_connect_set' /usr/src/php-4.0b3/ext/informix/ifx.ec:302: undefined reference to `sqli_connect_close' modules/php4/libphp4.a(ifx.o): In function `php3_ifx_do_connect': /usr/src/php-4.0b3/ext/informix/ifx.ec:629: undefined reference to `ifx_alloc_conn_user' ... ... Anyone know what these errors are? and Anyone success in building apache with php4b2 + informix?
[This followup was posted to comp.databases.informix and a copy was sent to the cited author.] In article <81ijbp$5uv$1@usenet.kreonet.re.kr>, alita@cain.kaist.ac.kr says... > I build php4 successfully and install it. > but while building apache with php4 beta 3 + Informix, I met > following errors. > [...snip...] > > Anyone know what these errors are? I suspect you are running RedHat 6 or 6.1? You really want to provide information about your SW environment if you expect somebody to be able to help you. Well, if RedHat, short version, install compat libs (maybe not really needed depending on your "Informix" version. BTW, Informix is a name of the company. You also want to check your LD_LIBRARY_PATH, as well as something like IFX_LIBDIR="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql" IFX_INCDIR="$INFORMIXDIR/incl/esql" IFX_LIBS="$INFORMIXDIR/lib/esql/libifsql.a \\ $INFORMIXDIR/lib/libifasf.a \\ $INFORMIXDIR/lib/esql/libifgen.a \\ $INFORMIXDIR/lib/esql/libifos.a \\ $INFORMIXDIR/lib/esql/libifgls.a \\ -lgen -lgls -lm -ldl $INFORMIXDIR/lib/esql/checkapi.o \\ $INFORMIXDIR/lib/esql/libifglx.a" export IFX_LIBDIR IFX_INCDIR IFX_LIBS I expect you have INFORMIXDIR since PHP compiled in the first place. Remember, more information. Much more information. On my site you can also find some pages that are using PHP3 with Informix. > and Anyone success in building apache with php4b2 + informix? No, but yes for PHP3. Ask for a script if this do not help. But, HTH, -- Yours, Andrej Falout, http://www.falout.com ICQ 7628616 ++64.21.607517 #----------------------------------------------------------------- globals "std_disclaimer.4gl" Ask yourself just one question: ' Qu' m's se puede hacer y aprender ? - Propellerhead ReBirth RB-338 manual