RE: [PHP-INST] Compiling PHP on Unixware with Informix support

From: Date: Fri, 23 Mar 2001 19:53:16 +0000
Subject: RE: [PHP-INST] Compiling PHP on Unixware with Informix support
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2570@lists.php.net to get a copy of this message
forgive my ignorance, but the LIBS line in what file config_vars.mk? -----Original Message----- From: Rasmus Lerdorf [mailto:rasmus@php.net] Sent: Friday, March 23, 2001 2:40 PM To: Mike Elliott Cc: php-install@lists.php.net Subject: Re: [PHP-INST] Compiling PHP on Unixware with Informix support Put -lm at the end of your LIBS line and it should work On Fri, 23 Mar 2001, Mike Elliott wrote: > I am running into the following problem. Has anyone gotten this combination > working in the past? > > > >vi debug.log > "debug.log" 21 lines, 1896 characters > CONFIGURE: './configure' '--with-mysql' > '--with-informix=/usr1/informix_7.30' > '--with-oci8--with-oracle' '--enable-debug' '--enable-ftp' > '--with-apache=/usr2/ > ApacheSetup/apache_1.3.19' > CC: cc > CFLAGS: -g -I/usr1/informix_7.30/incl/esql > CPPFLAGS: > CXX: > CXXFLAGS: > INCLUDES: -I/usr2/ApacheSetup/apache_1.3.19/src/include > -I/usr2/ApacheSetup/a > pache_1.3.19/src/os/unix -I$(top_builddir)/Zend > -I/usr1/informix_7.30/incl/esql > -I/usr2/phpgzip/php-4.0.4pl1/ext/mysql/libmysql > LDFLAGS: -L/usr/ucblib -L/usr/ucblib -L/usr1/informix_7.30/lib > -L/usr1/infor > mix_7.30/lib -L/usr1/informix_7.30/lib/esql -L/usr1/informix_7.30/lib/esql > -L/u > sr2/phpgzip/php-4.0.4pl1/ext/informix > -L/usr2/phpgzip/php-4.0.4pl1/ext/informix > LIBS: -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket -lifsql > -lifas > f -lifgen -lifos -lifgls -lsocket -ldl -lelf -lphp_ifx -lifglx > DLIBS: > SAPI: apache > PHP_RPATHS: /usr/ucblib /usr1/informix_7.30/lib > /usr1/informix_7.30/lib/esql /u > sr2/phpgzip/php-4.0.4pl1/ext/informix > uname -a: UnixWare hershey 5 7.1.1 i386 x86at SCO UNIX_SVR5 > > cc -o conftest -g -I/usr1/informix_7.30/incl/esql -L/usr/ucblib > -L/usr/ucblib > -L/usr1/informix_7.30/lib -L/usr1/informix_7.30/lib > -L/usr1/informix_7.30/lib/es > l -L/usr1/informix_7.30/lib/esql -L/usr2/phpgzip/php-4.0.4pl1/ext/informix > -L/ > usr2/phpgzip/php-4.0.4pl1/ext/informix conftest.c -lresolv -lresolv -lm -ldl > -lc > rypt -lsocket -lsocket -lifsql -lifasf -lifgen -lifos -lifgls -lsocket -ldl > -le > lf -lphp_ifx -lifglx 1>&5 > Undefined first referenced > symbol in file > ceil /usr1/informix_7.30/lib/esql/libifsql.so > fabs /usr1/informix_7.30/lib/esql/libifgen.so > getmntent /usr1/informix_7.30/lib/esql/libifos.so > UX:ld: ERROR: conftest: fatal error: Symbol referencing errors. No output > writte > n to conftest > > Here is the output of my esql -libs command > > /esql -libs > -lifsql > -lifasf > -lifgen > -lifos > -lifgls > -lsocket > /usr1/informix_7.30/lib/libnetstub.so > -ldl > -lelf > /usr/ccs/lib/libgen.a > -lm > -L/usr/lib/libp > /usr1/informix_7.30/lib/esql/checkapi.o > -lifglx > > Any help would be greatly appreciated! > > Mike Elliott > Internal Technical Support > Versaterm Inc. > TEL:613-820-0311 > Fax:613-596-5884 > mike.elliott@versaterm.com > http://www.versaterm.com > > >

« previous php.install (#2570) next »