#40638 [Fbk->Opn]: Error when compiling - APXS related

From: Date: Mon, 26 Feb 2007 14:52:00 +0000
Subject: #40638 [Fbk->Opn]: Error when compiling - APXS related
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109558@lists.php.net to get a copy of this message
ID: 40638 User updated by: sheezes at gmail dot com Reported By: sheezes at gmail dot com -Status: Feedback +Status: Open Bug Type: Apache related Operating System: AIX 5.2 PHP Version: 5.2.1 New Comment: my bad, it's /usr/IBMIHS_MON/lib and not libs. libpath is an apache configurion var? I tried googleing it and find nothing about it. btw, it's my first time i compile on aix :\ Previous Comments: ------------------------------------------------------------------------ [2007-02-26 14:14:00] tony2001@php.net /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). ------------------------------------------------------------------------ [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 ? ------------------------------------------------------------------------ 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

« previous php.bugs (#109558) next »