Click to See Complete Forum and Search --> : Problem : "__muldi3: referenced symbol not fo


Anon
08-03-2000, 10:35 AM
Hi,

I successfully installed apche+php on Linux, but I can do the same
thing on a Solaris 2.6. In fact it works on Solaris in static mode, but not
in DSO apache mode (and I really need it).

Each time I try to launch my Apache, I obtain the following error :
"Cannot load /usr/apachephp/libexec/libphp4.so into server: ld.so.1:
/usr/apachephp/bin/httpd: fatal: relocation error: file
/usr/apachephp/libexec/libphp4.so: symbol __muldi3: referenced symbol not found"

I read lots of articles about this error in newsgroup, etc. but with no solution.

I builded my Apache with the following comand line :
"./configure --prefix= /usr/apachephp --enable-module=so --enable-rule=SHARED_CORE; make; make install"

I builded my Php module with the following command line :
"./configure --with-apxs=/usr/apachephp/bin/apxs; make; make install"

I don't know if there is a link with the DB Berkeley library, but they give
a solution to solve this kind of problem :
http://www.sleepycat.com/docs/ref/build_unix/notes.html
So I rebuilded my DB Berkeley library, I rebuilded apache,
and I rebuilded php with the option --with-db3, but without success.

Anybody had this problem (and most important, solved it :-) )

Regards.
Sebastien Brault.

Anon
08-10-2000, 02:59 PM
I am getting the same error on Solaris 2.6. Can someone please provide some insight into what may be causing this error?


# ./apachectl startssl
Syntax error on line 241 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libphp4.so: symbol __muldi3: referenced symbol not found
./apachectl startssl: httpd could not be started

Anon
08-15-2000, 10:11 AM
I get this problem too, compiling as a DSO using --with-apxs
I am using gcc 2.7.2 and gnu binutils for the build, on Solaris 2.6.

Anon
08-18-2000, 09:00 AM
I just figured my problem out. I had to link with my gcc libraries....

Add this to your php4 configure line
--enable-libgcc

Hope this works for everyone.

Anon
11-14-2000, 05:08 PM
hey that worked for me also
solaris 2.6 php-4.0.3pl1 apache 1.3.14 with dso support

Derek