#40638 [Opn->Fbk]: Error when compiling - APXS related
| From: | tony2001@php.net | Date: | Mon, 26 Feb 2007 14:14:00 +0000 |
| Subject: | #40638 [Opn->Fbk]: Error when compiling - APXS related | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109556@lists.php.net to get a copy of this message | ||
ID: 40638
Updated by: tony2001@php.net
Reported By: sheezes at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: AIX 5.2
PHP Version: 5.2.1
New Comment:
/usr/IBMIHS_MON/libs ?
or /usr/IBMIHS_MON/lib?
Anyway, it would look there only if the binary was compiled
appropriately.
If it was not, you have to use LIBPATH (or tweak dynamic linker paths
in an other way).
Previous Comments:
------------------------------------------------------------------------
[2007-02-26 14:09:36] sheezes at gmail dot com
hmmm, I checked my apache lib directory (/usr/IBMIHS_MON/libs) and the
file is there. Any idea maybe why it can't seem to find it?
btw, thanks for your help so far!
------------------------------------------------------------------------
[2007-02-26 14:05:28] tony2001@php.net
Ahha.
So here we got the actual source of the problem:
/usr/IBMIHS_MON/bin/httpd -v produces the error below.
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:59:28] sheezes at gmail dot com
# > echo `/usr/IBMIHS_MON/bin/apxs -q
SBINDIR//usr/IBMIHS_MON/bin/apxs -q TARGET`
/usr/IBMIHS_MON/bin/httpd
# > /usr/IBMIHS_MON/bin/apxs -q SBINDIR/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
Could not load program /usr/IBMIHS_MON/bin/httpd:
Dependent module libaprutil-0.so could not be loaded.
Could not load module libaprutil-0.so.
System error: No such file or directory
------------------------------------------------------------------------
[2007-02-26 13:45:33] tony2001@php.net
What do you see with?
echo /usr/IBMIHS_MON/bin/apxs -q SBINDIR/`/usr/IBMIHS_MON/bin/apxs -q
TARGET`
and
/usr/IBMIHS_MON/bin/apxs -q SBINDIR/`/usr/IBMIHS_MON/bin/apxs -q
TARGET` -v
?
------------------------------------------------------------------------
[2007-02-26 13:35:47] sheezes at gmail dot com
--with-apxs=/usr/IBMIHS_MON/bin/apxs
i know that i should have used --with-apxs2 but when i run it with this
parameter it told me that i have apache 1.3 and i should drop the "2" to
get --with-apxs
------------------------------------------------------------------------
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/40638
--
Edit this bug report at http://bugs.php.net/?id=40638&edit=1