Re: SCO O/S 5.0.5, php-4.0.3pl1, mysql-3.23-27 - symbol not found: pow

From: Date: Sat, 11 Nov 2000 03:12:45 +0000
Subject: Re: SCO O/S 5.0.5, php-4.0.3pl1, mysql-3.23-27 - symbol not found: pow
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-724@lists.php.net to get a copy of this message
> This is getting frustrating.... > > I've downloaded the lastest sources for apache-1.3.14, php-4.0.3pl, > mysql-3.23-27, gcc-2.95.2pl1, gnu make-3.78.1, glib-1.5. > > All to no avail. Apache works, mysql works, but when I run: > > ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs > --enable-libgcc > make > make install > apachectl configtest > > I get: > > Syntax error on line 241 of /usr/local/apache/conf/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp4.so into server: dynamic > linker: /usr/local/apache/bin/httpd: relocation error: symbol not found: > > pow Sounds like you are missing a -lm somewhere. Try: CFLAGS=-lm ./configure --with-mysql ... > I was also getting this under apache 1.3.12 pre-compiled from skunkware. > > The php3 was working ok but did not have mysql support in it. With the > php3 installed as well under apache-1.3.12 the symbol was different: > symbol __udivdi3: > When I removed php3 then I got the pow symbol not found error. The divdi3 problem happens when you are mixing libraries compiled with a non-gcc compiler with libraries compiled and linked with gcc. Adding --enable-libgcc to the PHP configure line should work around this. -Rasmus

« previous php.install (#724) next »