php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7386 referenced symbol not found when starting Apache
Submitted: 2000-10-21 22:38 UTC Modified: 2005-03-31 16:13 UTC
From: andres dot fernandez at central dot sun dot com Assigned:
Status: Wont fix Package: Installation problem
PHP Version: 3.0.17 and 4.0.3pl1 OS: solaris 8 (10/2000 edition) i86p
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2000-10-21 22:38 UTC] andres dot fernandez at central dot sun dot com
There seems to be other people with the same problem although I have
the latest version of Solaris installed on my pc at school.

Both Apache 1.3.14 and php 4.0.3pl1 compile under the os but when I try to run Apache it can't find the proper symbols. Does solaris store these
in an alternate location.

I compiled with gcc 2.95.2 and gnu make.....

These are some ld library locations:

./usr/lib/ld.so.1
./usr/lib/librtld.so.1
./usr/lib/libld.so.2
./usr/lib/libld.so.3
./usr/lib/mdb/kvm/krtld.so
./usr/share/man/sman1/ld.so.1.1
./usr/ccs/lib/libld.so.2
./etc/lib/ld.so.1

The console output is below.

Syntax error on line 224 of /usr/local/dsoapache/conf/httpd.conf:
Cannot load /usr/local/dsoapache/libexec/libphp3.so into server: ld.so.1: /usr/local/dsoapache/bin/httpd: fatal: relocation error: file /usr/local/dsoapache/libexec/libphp3.so: symbol mysql_free_result: referenced symbol not found
./apachectl start: httpd could not be started


--Any suggestions?

Andrew Fernandez

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-22 14:18 UTC] sniper@php.net
Is this really correct? The error says:
'Cannot load /usr/local/dsoapache/libexec/libphp3.so' ???

And you are trying to install php4.0.3pl1???

--Jani 
 [2000-10-22 18:40 UTC] andres dot fernandez at central dot sun dot com
This happens for both 3.0.17 and 4.0.3.

The error reported back is the same for both versions.  I meant to reference both versions. 

I have compiled both 3.0.17 and 4.0.3 with Apache support for DSO's and
there are problems when I try to run Apache with the reference to either version in the httpd.conf file.

I imagine it might be how libraries are setup under solaris for intel and sparc.
 [2000-10-27 08:49 UTC] sniper@php.net
I forgot to ask you to include the configure line you have used.

--Jani
 [2002-02-14 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC