PHP 4.0 Bug #8351: Undefined symbol
| From: | gkaczmarczyk at monoexpress dot com | Date: | Thu, 21 Dec 2000 14:17:50 +0000 |
| Subject: | PHP 4.0 Bug #8351: Undefined symbol | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42039@lists.php.net to get a copy of this message | ||
From: gkaczmarczyk@monoexpress.com
Operating system: Solaris 7 SPARC
PHP version: 4.0.4
PHP Bug Type: Compile Failure
Bug description: Undefined symbol
Software: Solaris 7 SPARC, PHP 4.0.4, Apache 1.3.14,
gcc 2.95-2
(Although I've also tried PHP 4.0.3pl1& Apache 1.3.9 -
with same results)
I get "Undefined symbol getaddrinfo & freeaddrinfo first
referenced in file modules/php4/libphp4.a(network.o)"
when compiling Apache. I get the SAME error when I
start Apache after compiling PHP as a DSO module.
Here is the exact error:
-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 -L/usr/ucblib -Lmodules/php4
-L../modules/php4 -L../../modules
/php4 -lmodphp4 -lpam -ldl -lresolv -lresolv -lm -ldl
-lcrypt -lnsl -lsocket
-lsocket -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
--
Edit Bug report at: http://bugs.php.net/?id=8351&edit=1