php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4313 libmodphp4.a could not be found by the linker ld.
Submitted: 2000-05-04 02:32 UTC Modified: 2000-05-15 14:54 UTC
From: sajith_nallithodi at bmg dot satyam dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Release Candidate 1 OS: Redhat 6.1 Linux Kernel Version
Private report: No CVE-ID: None
 [2000-05-04 02:32 UTC] sajith_nallithodi at bmg dot satyam dot com
Hi,
After following below mentioned installation instructions, encountered the following error:
QUICK INSTALL (Static)

$ gunzip -c apache_1.3.11.tar.gz | tar xf -
$ cd apache_1.3.11
$ ./configure
$ cd ..

$ gunzip -c php-4.0.x.tar.gz | tar xf -
$ cd php-4.0.x
$ ./configure  --with-apache=../apache_1.3.11 --enable-track-vars
$ make
$ make install

Till this everything went smoothly.

$ cd ../apache_1.3.11
$ ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a

Here an error is encountered saying that
/usr/bin/ld : modphp4 - No such File

From the documentation of ld, I learn that ld is looking for a file named libmodphp4.a in the specified search directories.

I could not find such a file on my machine though the installation of PHP completed successfully.

Could any one of you please send the library archive libmodphp4.a (for Linux 2.2.12-20) to me?

Or can you suggest any other reason for the above error?

Thanks in advance,
Sajith

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-15 14:54 UTC] sas at cvs dot php dot net
Double check that you configured Apache indeed using --activate-module=src/modules/php4/libphp4.a

Configuring with any other filename (i.e. libmodphp4.a) will not work.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 05:00:01 2026 UTC