Apache w/ PHP4

From: Date: Wed, 20 Dec 2000 15:17:39 +0000
Subject: Apache w/ PHP4
Groups: php.dev 
Request: Send a blank email to php-dev+get-41931@lists.php.net to get a copy of this message
I am getting an error that libphp4.a is having trouble "finding" a library (maybe libc.a?). Essentially, it can't find the getaddrinfo & freeaddrinfo subroutines in the library. Does anyone have an idea how to include that library in the compilation? (or is there another solution?) System info: Solaris 7 on SPARC, php4.0.3pl1, apache 1.3.9, gcc 2.95-2 This is the error I get during the apache "make": -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/lib standard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat. a -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -L/usr/uc blib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -Lmodules/php4 -L../mo dules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lresolv -lresolv -lm -ld l -lcrypt -lnsl -lsocket -lsocket -lgcc -lsocket -lnsl Undefined first referenced symbol in file getaddrinfo modules/php4/libphp4.a(network.o) freeaddrinfo modules/php4/libphp4.a(network.o) ld: fatal: Symbol referencing errors. No output written to httpd collect2: ld returned 1 exit status Thank you to anyone who could help!

« previous php.dev (#41931) next »