#24793 [Opn->Csd]: dlopen error: libphp4.so No such file or directory
| From: | alibarim at yahoo dot com | Date: | Wed, 10 Sep 2003 16:33:21 +0000 |
| Subject: | #24793 [Opn->Csd]: dlopen error: libphp4.so No such file or directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47383@lists.php.net to get a copy of this message | ||
ID: 24793
User updated by: alibarim at yahoo dot com
Reported By: alibarim at yahoo dot com
-Status: Open
+Status: Closed
Bug Type: Apache related
Operating System: AIX 433
PHP Version: 4.3.3RC5-dev
New Comment:
The problem is resolved now.
I download the 4.3.3 available on the web Site and compile it with gcc
version 3.2.3.
With this verison of gcc when you include the PDFLib you have to put
the libgcc_s.a in one of the directory figuring in the output of dump
-H on libphp4.so
Everything is OK now.
Thanks to all for your participation.
Previous Comments:
------------------------------------------------------------------------
[2003-09-10 08:13:43] alibarim at yahoo dot com
I download the recommanded version.
I should add to my configure command
--disable-cli
--without-pear
And now when I try to run Apache, I obtain:
./apache[23]: 58706 Illegal instruction
It seems to be a core dumped for Apache.
When I remove LoadModule php4 from my httpd.conf everything
seems to be ok and Apache run normally.
------------------------------------------------------------------------
[2003-09-09 18:00:12] 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
And this time try with your normal configure line for PHP.
I don't think 'make install' will work yet, but you shouldn't need
--disable-cli anymore.
------------------------------------------------------------------------
[2003-08-19 07:31:08] alibarim at yahoo dot com
When I use the following configure commad, and copy manually the
compiled library, everything is OK and Apache run normally.
#!/bin/sh
exec configure \
--prefix /apps/local/php-4.3.2/ \
--disable-all \
--disable-cli \
--with apxs=/apps/local/apache_test_Ali/bin/apxs
When I add the pdf
--with-pdflib=/apps/local/apache_test_Ali/lib/pdf
Apache cannot run !!
Cannot load /apps/local/apache_test_Ali/libexec/libphp4.so into
server:
dlopen: /apps/local/apache_test_Ali/libexec/libphp4.so: No such file
or
directory
This is not the case with the 4.2.3 version.
------------------------------------------------------------------------
[2003-08-19 05:27:28] sniper@php.net
Well, did it work when you manually copied the file?
(even without the --disable-cli maybe?)
------------------------------------------------------------------------
[2003-08-19 05:15:28] alibarim at yahoo dot com
Yes I do.
Before any compilation, I do a make distclean.
Concerning the comments on bug #25058. I read it, but I did'nt see any
particular point.
I just copy de libphp4.so into my libexec directory. As I done it for
the 4.2.3 version
------------------------------------------------------------------------
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/24793
--
Edit this bug report at http://bugs.php.net/?id=24793&edit=1