Hello I have scanned the archives of this list for those two error
messages but the solutions that I found don't quite work. I am running on
HP-UX11.0 with apache 1.3.28 and php 4.3.2 compiled with the HP C compiler. I built apache as: ./configure
--prefix=/apps11/apache --enable-module=most --enable-shared=max make make install I build php as: ./configure
--prefix=/apps11/php --with-informix=/apps11/informix --with-apxs=/apps11/apache/bin/apxs
--without-mysql
make make install First error message during execution of the make install
command: Error:
file libs/libphp4.sl is not a DSO No
libphp4.sl or .so had been produced. The solution was to edit the libtool file
and change deplibs_check_method to pass_all after the configure step. Then I ran make and make install again,
got the same error message again, and executed these two commands: mv
libs/libphp4.sl libs/libphp4.so
/apps11/apache/bin/apxs
-i -a -n php4 libs/libphp4.so That
worked fine, but now I cannot start apache: I get the error message: ./apachectl
start
/usr/lib/dld.sl:
Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2
/usr/lib/dld.sl:
Exec format error
Syntax
error on line 236 of /apps11/apache/conf/httpd.conf:
Cannot
load /apps11/apache/libexec/libphp4.so into server: Exec format error ./apachectl
start: httpd could not be started
If
I insert the following line in the apachectl script:
export
LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl
I
get a different error message:
/usr/lib/dld.sl:
Unresolved symbol: _ecvt_r (code)
from /usr/lib/libcl.1 /usr/lib/dld.sl:
Unresolved symbol: _localtime_r (code)
from /usr/lib/libcl.1 /usr/lib/dld.sl:
Unresolved symbol: _ldecvt_r (code)
from /usr/lib/libcl.1 /usr/lib/dld.sl:
Unresolved symbol: _ctime_r (code)
from /usr/lib/libcl.1 /usr/lib/dld.sl:
Unresolved symbol: _setlocale_r (code)
from /usr/lib/libcl.1 /usr/lib/dld.sl:
Unresolved symbol: _strerror_r (code)
from /usr/lib/libcl.1 Syntax
error on line 236 of /apps11/apache/conf/httpd.conf:
Cannot
load /apps11/apache/libexec/libphp4.so into server: No such file or directory
./apachectl
start: httpd could not be started What
can I do now? Thank
you |