Bug #14559 Updated: cannot load libphp4.so into server
| From: | mdecke at pjoetry dot de | Date: | Mon, 17 Dec 2001 15:03:40 +0000 |
| Subject: | Bug #14559 Updated: cannot load libphp4.so into server | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74136@lists.php.net to get a copy of this message | ||
ID: 14559
User updated by: mdecke@pjoetry.de
Reported By: mdecke@pjoetry.de
Old Status: Feedback
Status: Open
Bug Type: Dynamic loading
Operating System: solaris 7
PHP Version: 4.1.0
New Comment:
Hi
in the documentation, about how apache was compiled,
my co-worker wrote that apache is compiled with
gcc 3
i tested it with gcc -v
and the answer was: gcc version 3
i'am assuming that both,
php and apache have been compiled with gcc 3
Previous Comments:
------------------------------------------------------------------------
[2001-12-17 09:47:21] derick@php.net
My guess is that apache is compiled without gcc 3, and the php apache moduel with gcc 3. That's
is not going to work. Either rebuild httpd with gcc, or build the php apache module with gcc 2.95.1
for example.
Please report back if this fixes the issue.
Derick
------------------------------------------------------------------------
[2001-12-17 09:35:32] mdecke@pjoetry.de
Hi php.net Team,
i couldn't load the libphp4.so into the server.
machine: sun/sparc
os : solaris 7
apache : 1.3.20
i installed gcc,binutils,make ... etc. according to the installation-guide on php.net
my installation is following:
- ./configure --with-apxs=/us/local/apache/apxs
--with-oci8=/<path>/oracle
--enable-libgcc
- make
- make install
- edited the httpd.conf according to the installation-guide on php.net
- cp php.ini-dist /usr/local/php.ini
then i tried to test the configuration
- apachectl configtest
the result was:
error on line 241
cannot load /usr/local/apache/libexec/libphp4.so into
server:ld.so.1:usr/local/apache/httpd:fatal:libgcc_s.so.1:open failed: no such file or directory
i looked of course into the directories
- libphp4.so is in /usr/local/apache/libexec
and
- libgcc_s.so.1 is in /usr/local/lib
i added --enable-libgcc in the configure-line because i read it in a bug-report, i thought it could
fix something.
thanks in advance
yours
Markus Decke
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14559&edit=1