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

From: Date: Mon, 26 Feb 2007 15:06:44 +0000
Subject: #40638 [Opn->Bgs]: Error when compiling - APXS related
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-109559@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: Bogus Bug Type: Apache related Operating System: AIX 5.2 PHP Version: 5.2.1 New Comment: >libpath is an apache configurion var? No, it's AIX env variable, similar to LD_LIBRARY_PATH on Linux. >I tried googleing it and find nothing about it. Looks for "AIX LIBPATH". Not PHP problem -> bogus. Previous Comments: ------------------------------------------------------------------------ [2007-02-26 14:51:59] sheezes at gmail dot com 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 :\ ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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 (#109559) next »