I am having trouble getting apache to load the php4 module. Here is the
error and output of ldd -r on the php module.
todd@svlecs01:~/src/php-4.1.2$sudo apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced
symbol not found
/usr/local/apache/bin/apachectl start: httpd could not be started
todd@svlecs01:~/src/php-4.1.2$ldd -r /usr/local/apache/libexec/libphp4.so
libdl.so.1 => /usr/lib/libdl.so.1
libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libsocket.so.1 => /usr/lib/libsocket.so.1
libpam.so.1 => /usr/lib/libpam.so.1
libmm.so.11 => /usr/local/lib/libmm.so.11
libmysqlclient.so.10 =>
/usr/local/mysql/lib/mysql/libmysqlclient.so.10
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libz.so.1 => /usr/lib/libz.so.1
libmp.so.2 => /usr/lib/libmp.so.2
symbol not found: ap_block_alarms
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_unblock_alarms
(/usr/local/apache/libexec/libphp4.so)
/usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
symbol not found: ap_user_id
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_server_root
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_group_id
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_user_name
(/usr/local/apache/libexec/libphp4.so)
symbol not found: top_module
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_max_requests_per_child
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_table_get
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_update_mtime
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_kill_timeout
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_uudecode
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_setup_client_block
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_add_cgi_vars
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_getword
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_getword_nulls_nc
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_destroy_sub_req
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_pstrdup
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_log_error
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_table_add
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_sub_req_lookup_uri
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_run_sub_req
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_register_cleanup
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_signal
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_send_http_header
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_block_alarms
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_child_terminate
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_set_etag
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_rwrite
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_table_set
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_get_client_block
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_add_version_component
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_hard_timeout
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_rflush
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_set_last_modified
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_reset_timeout
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_unblock_alarms
(/usr/local/apache/libexec/libphp4.so)
symbol not found: ap_add_common_vars
(/usr/local/apache/libexec/libphp4.so)
todd@svlecs01:~/src/php-4.1.2$cat config.nice
#! /bin/sh
#
# Created by configure
'./configure' \
'--with-mysql=/usr/local/mysql' \
'--enable-trans-sid' \
'--with-apxs' \
'--with-mm=/usr/local/lib' \
"$@"
I know this is a apache symbol but how can I fix this?
Thanks.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php