ID: 29506 User updated by: martinkuria at hotmail dot com Reported By: martinkuria at hotmail dot com Status: Bogus Bug Type: *Compile Issues Operating System: Solaris9 PHP Version: 5.0.0 New Comment:
Thanks I got to solve the issue it's not a php bug? this is what I did: cd /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so ln -s /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so /usr/lib/libdb-4.1.so My worries now are settle thanks all Previous Comments: ------------------------------------------------------------------------ [2004-08-03 15:23:48] [EMAIL PROTECTED] ld fails to find libdb-4.1.so, which was used, when building Apache: -- The output of /usr/local/apache-2.0.48/bin/apxs follows: ld.so.1: /usr/local/apache-2.0.48/bin/httpd: fatal: libdb-4.1.so: open failed: No such file or directory -- Check you system and make sure you didn't delete this lib. Try to run apxs from console, I'm sure will see the same error. Not a PHP bug -> bogus. ------------------------------------------------------------------------ [2004-08-03 15:18:53] martinkuria at hotmail dot com Description: ------------ I am trying to install php5.0.0, I have already installed apache-2.0.48, but when I try to compile php am getting the error below please do advice what can be wrong: Perl is already also installed I have given the correct path to apxs /usr/local/apache-2.0.48/apxs And my apache is build using --enable-so: What could be the problem?? Perl is already also installed I have given the correct path to apxs /usr/local/apache-2.0.48/apxs And my apache is build using --enable-so: What could be the problem?? Reproduce code: --------------- #:local/php-5.0.0>./configure --with-apxs2=/usr/local/apache-2.0.48/bin/apxs loading cache ./config.cache checking host system type... sparc-sun-solaris2.9 checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking if compiler supports -R... yes checking for re2c... exit 0; checking for ranlib... ranlib checking whether ln -s works... yes checking for mawk... no checking for gawk... no checking for nawk... nawk checking for bison... bison -y checking bison version... 1.875 (ok) checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking flex version... 2.5.4 (ok) checking for pthreads_cflags... -pthreads checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for member fd in BUFF *... no checking for mod_charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) The output of /usr/local/apache-2.0.48/bin/apxs follows: ld.so.1: /usr/local/apache-2.0.48/bin/httpd: fatal: libdb-4.1.so: open failed: No such file or directory Killed apxs:Error: Sorry, no shared object support for Apache. apxs:Error: available under your platform. Make sure. apxs:Error: the Apache module mod_so is compiled into. apxs:Error: your server binary `/usr/local/apache-2.0.48/bin/httpd'.. configure: error: Aborting #:local/php-5.0.0> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29506&edit=1