|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-03 15:58 UTC] sniper@php.net
[2005-10-03 16:06 UTC] ionut dot aivanesei at amdocs dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 10:00:01 2025 UTC |
Description: ------------ Hi, I am trying to compile PHP 5.0.5 on HP-UX B.11.11 and I am not succeeding. I have already compiled httpd-2.0.54 with --enable-so --enable-rewrite. I have MySQL binaries mysql-standard-4.1.14-hp-hpux11.11-hppa2.0w. I am using the following: ./configure --prefix=${BUILD_DIR}/php --with-apxs2=${BUILD_DIR}/httpd/bin/apxs --with-mysql=${BUILD_DIR}/mysql ./configure is finished OK. make is finished OK, but with the following warnings: -------------------------------------------------------------------------------------------------------------- *** Warning: linker path does not have real file for library -lmysqlclient. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libmysqlclient and none of the candidates passed a file format test *** using a file magic. Last file checked: /elsuser11.p802a/els/crm/ionuta/web/mysql/lib/libmysqlclient.a *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libphp5. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. -------------------------------------------------------------------------------------------------------------- Then, when I run make install I have the following error: -------------------------------------------------------------------------------------------------------------- Installing PHP SAPI module: apache2handler /elsuser11.p802a/els/crm/ionuta/web/httpd/build/instdso.sh SH_LIBTOOL='/elsuser11.p802a/els/crm/ionuta/web/httpd/build/libtool' libphp5.la /elsuser11.p802a/els/crm/ionuta/web/httpd/modules /elsuser11.p802a/els/crm/ionuta/web/httpd/build/libtool --mode=install cp libphp5.la /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/ cp .libs/libphp5.lai /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.la cp .libs/libphp5.a /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.a ranlib /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.a chmod 644 /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.a libtool: install: warning: remember to run `libtool --finish /elsuser11.p802a/els/crm/ionuta/web/_sources/php/php-5.0.5/libs' Warning! dlname not found in /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.so chmod: can't access /elsuser11.p802a/els/crm/ionuta/web/httpd/modules/libphp5.so apxs:Error: Command failed with rc=65536 . *** Error exit code 1 Stop. -------------------------------------------------------------------------------------------------------------- I get this only when compiling with mysql support. Otherwise everything is ok. Thank you, Ionut Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a