[PHP-DEV] Apache w/ PHP4 From: Gregory Kaczmarczyk (gkaczmarczyk <email protected>)
Date: 12/20/00

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!

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>