php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3360 Dynamic Libraries not found
Submitted: 2000-01-31 08:49 UTC Modified: 2000-08-15 09:41 UTC
From: agma at katacrock dot tid dot es Assigned:
Status: Closed Package: Compile Warning
PHP Version: 4.0 Beta 3 OS: Solaris 2.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: agma at katacrock dot tid dot es
New email:
PHP Version: OS:

 

 [2000-01-31 08:49 UTC] agma at katacrock dot tid dot es
Hi.

PHP v4.b3, at compilation-time, issues some "Warnings"... Maybe due to linking effects. Could you check'em all?


[BEGIN INFO]
# The "dynamic environment".
LD_LIBRARY_PATH=\
/d1/oracle/app/product/7.3.3:\
/d1/apache1.3/libexec:\
/opt/gnu/lib:\
/usr/local/ldapsdk/lib:\
/opt/gnu:\
/usr/lib:\
/usr/local/lib:\
$LD_LIBRARY_PATH


# Some configuration options...
<PHP_EXTRACTED_DIR>=/d1/PHP/php-4.0b3
<INSTALLED_APACHE_ROOT_DIR>=/d1/apache1.3


# PHP v4.b3 compilation after having Apache v1.3.9 up and running.
cd <PHP_EXTRACTED_DIR>
./configure \
--with-apxs=<INSTALLED_APACHE_ROOT_DIR>/sbin/apxs \
--enable-track-vars \
--with-oracle=<INSTALLED_ORACLE_ROOT_DIR> \
--with-config-file-path=<INSTALLED_APACHE_ROOT_DIR>/conf


# "make" PHP v4.b3.
make
[BEGIN REPORT]
.../...

/bin/sh ./libtool --silent --mode=link gcc  -g -O2 -g -O2  -L/usr/local -L/opt/gnu -L/usr/local/lib -L/opt/gnu/lib -L/usr/local/ldapsdk/lib -L/opt/gnu/lib/libgdbm.a -o libphp4.la -rpath /d1/PHP/php-4.0b3/libs -avoid-version -L/usr/local -L/opt/gnu -L/usr/local/lib -L/opt/gnu/lib -L/usr/local/ldapsdk/lib -L/opt/gnu/lib/libgdbm.a                  main.lo internal_functions.lo snprintf.lo php3_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo libzend/libzend.la sapi/apache/libphpsapi_apache.la regex/libregex.la ext/apache/libphpext_apache.la ext/db/libphpext_db.la ext/oracle/libphpext_oracle.la ext/pcre/libphpext_pcre.la ext/session/libphpext_session.la ext/standard/libphpext_standard.la  -ldl -lm  -lresolv  -lnsl -lsocket -lcrypt -lgdbm   -L/d1/oracle/app/product/7.3.3/lib -R/d1/oracle/app/product/7.3.3/lib -lclntsh -lsocket -lnsl -lm -ldl -lposix4 

*** Warning: This library needs some functionality provided by -lcrypt.
*** 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.

*** Warning: This library needs some functionality provided by -lgdbm.
*** 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.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
make[2]: Leaving directory `/d1/PHP/php-4.0b3'
make[1]: Leaving directory `/d1/PHP/php-4.0b3'

[END REPORT]


# make install
[OK]


# Output of: "ldd" on: "libphp4.so"
ldd -frsv /d1/apache1.3/libexec/libphp4.so;
.../...
   find library=libdl.so.1; required by /usr/lib/libw.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
        symbol not found: ap_block_alarms               (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_user_name                  (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_unblock_alarms             (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: top_module                    (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_max_requests_per_child     (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_server_root                (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_user_id                    (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_group_id                   (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_log_error                  (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_vsnprintf                  (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_snprintf                   (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_signal                     (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_block_alarms               (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_register_cleanup           (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_unblock_alarms             (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_rwrite                     (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_hard_timeout               (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_get_client_block           (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_reset_timeout              (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_table_get                  (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_pstrdup                    (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_table_add                  (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_table_set                  (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_send_http_header           (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_getword                    (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_uudecode                   (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_getword_nulls_nc           (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_popenf                     (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_log_reason                 (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_setup_client_block         (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_update_mtime               (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_set_last_modified          (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_set_etag                   (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_chdir_file                 (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_add_common_vars            (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_add_cgi_vars               (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_kill_timeout               (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_pclosef                    (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_add_version_component      (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_sub_req_lookup_uri         (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_destroy_sub_req            (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_run_sub_req                (/d1/apache1.3/libexec/libphp4.so)
        symbol not found: ap_rflush                     (/d1/apache1.3/libexec/libphp4.so)

[END INFO]

For questions, please contact me at: agma@katacrock.tid.es

Thanks in advance.
Arturo Garcia

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-29 15:30 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).
 [2000-08-15 09:41 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC