php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2082 Link/Load failure with shared module link into Apache 1.3.6
Submitted: 1999-08-17 01:21 UTC Modified: 1999-08-28 06:19 UTC
From: jdbotwic at nortelnetworks dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: HP-UX 10.20
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jdbotwic at nortelnetworks dot com
New email:
PHP Version: OS:

 

 [1999-08-17 01:21 UTC] jdbotwic at nortelnetworks dot com
I have had an extremely difficult time installing this software. There seem to be several bugs in the configure/make scripts. I'll submit a separate bug report for those. I've managed to hack my way through so far. 

However, this one has me totally stumped. When I compile Apache with a shared PHP module, it gets to the step where it is trying to link the PHP stuff together (I guess). Here's the actual linker command:

ld -L/u01/home/oracle/dist/7.3.4.2/lib -b -E -Bdeferred +s -o libphp3.so mod_php3.so-o libmodphp3-so.a  -L/u01/home/oracle/dist/7.3.4.2/lib  -L/u01/home/oracle/dist/7.3.4.2/lib   -lclntsh -l:libcma.sl -lcl -lm -l:libcl.a                     -lm   

and I get the following error:

ld: Invalid loader fixup for symbol "$0000000D".
make: *** [libphp3.so] Error 1

I have absolutely no idea where to even start debugging this problem. Can you help? What does that error message mean?

Update:

I provided the "-v" option to the linker statement below and found that there are about a zillion unsatisified symbols. Many are from libc,
which doesn't seem to be being included. Others are from Apache's libmain.a, which also isn't included. 

As I said below, there seems to be a few bugs in the configuration script. Could this be another? How can I fix this?

Thanks.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-28 06:19 UTC] sas at cvs dot php dot net
Don't use --with-shared-apache. 

If you want to use a shared module, --with-apxs should work on HP-UX flawlessly.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 08:00:02 2026 UTC