#22273 [Opn]: Cannot load libphp4.so into server: Unresolved external
| From: | germano60 at yahoo dot it | Date: | Wed, 19 Feb 2003 15:02:17 +0000 |
| Subject: | #22273 [Opn]: Cannot load libphp4.so into server: Unresolved external | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33559@lists.php.net to get a copy of this message | ||
ID: 22273
User updated by: germano60 at yahoo dot it
Reported By: germano60 at yahoo dot it
Status: Open
Bug Type: Apache2 related
Operating System: HP-UX 11.00
PHP Version: 4.3.0
New Comment:
Results of analysis with gdb:
I used gdb to debug the "httpd -t" program, so to reproduce the problem
without having to affect the operation of Apache.
The error condition is detected by the function:
errmsg = ap_build_config(&parms, p, ptemp, conftree);
located at line 1563 in Apache's source file config.c
Could this help?
Cheers
Germano Gasparini
Previous Comments:
------------------------------------------------------------------------
[2003-02-19 04:57:48] germano60 at yahoo dot it
MPM used for Apache2: prefork
Operations I did:
cd to PHP latest stable directory
make clean
rm config.cache
./configure with all options as before plus --enable-debug
make - succeeded, with more compiler warnings about unused
declarations
make install - succeeded
cd /usr/local/apache2/bin
./apachectl configtest
Same error message again.
gdb is not yet installed on my system, I'm currently getting the depot
from HP-UX Porting Centre.
------------------------------------------------------------------------
[2003-02-19 04:16:53] sniper@php.net
Add --enable-debug to your PHP configure line
and try checking if it's crashing with gdb.
(what MPM is used for Apache2 ?)
------------------------------------------------------------------------
[2003-02-19 04:03:11] germano60 at yahoo dot it
I tried with the latest stable snapshot and with the ./configure
options as per suggestion.
By the way, I confirm you that the issues related to crypt and termcap
libraries in hp-ux environment are apparently solved with this latest
stable. The overall generation was definitely smoother than my previous
one.
Everything ran successfully, the new libphp4.so was installed in
/usr/local/apache2/modules, the httpd.conf was updated by make install
(this did not happen previously).
Unfortunately, when I ran
apachectl configtest
I was still returned with the same error message.
Any hint?
Cheers
Germano Gasparini
------------------------------------------------------------------------
[2003-02-18 11:55:00] sniper@php.net
The latest snapshot should fix the crypt issue..
Try this configure line:
./configure --disable-all --with-mysql --with-pcre-regex
--with-apxs2=/usr/local/apache2/bin/apxs
(--disable-all disables every 'by-default' extension)
------------------------------------------------------------------------
[2003-02-18 11:53:22] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22273
--
Edit this bug report at http://bugs.php.net/?id=22273&edit=1