[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: solaris-8 and openldap-2.0.11



Title: RE: solaris-8 and openldap-2.0.11
 
----- Original Message -----
To: Jan Z.
Sent: Wednesday, August 29, 2001 10:45 AM
Subject: Re: solaris-8 and openldap-2.0.11

hi,
 
Try a ldd of /usr/local/www/libexec/libphp3.so. There I think you can see, that a liblber or libldap library cannot be founf.
So you have to adapt you lib paths.
That could be a step solving this problem
 
Greets
Thomas Heil
thanks Thomas,
 
but that is exactely my problem. I don't know where I can find the missing symbols. Curiously php-4.0.6 is running fine with the same ldap-library (which has also a lot of symbol not found errors).
nm -A -u shows only the unresolved symbols. But where are they really located ?
All the ber_xy - things are defind in lber.h. Include path is correct. Compilation also. But on runtime there is a problem.
I think that the problem is the runtime linker or the link editor. I have lots of libldap.so over all. Runtime linker first looks in its default paths which is /usr/lib /lib or something like that...
 
ldd -r /usr/local/www/libexec/libphp3.so
        libldap.so.2 =>  /usr/lib/libldap.so.2
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libc.so.1 =>     /usr/lib/libc.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1
        symbol not found: ap_group_id           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_user_id            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_max_requests_per_child             (/usr/local/www/libexec/libphp3.so)
        symbol not found: top_module            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_server_root                (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_user_name          (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_popenf             (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_log_reason         (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_setup_client_block         (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_update_mtime               (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_set_last_modified          (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_set_etag           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_hard_timeout               (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_chdir_file         (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_add_common_vars            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_add_cgi_vars               (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_table_add          (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_kill_timeout               (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_pclosef            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_palloc             (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_pstrcat            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_pstrdup            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_register_cleanup           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_add_version_component              (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_rwrite             (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_rputs              (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_rputc              (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_log_error          (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_vbprintf           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_signal             (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_block_alarms               (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_unblock_alarms             (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_table_get          (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_table_set          (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_sub_req_lookup_uri         (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_destroy_sub_req            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_run_sub_req                (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_rflush             (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_send_http_header           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_should_client_block                (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_reset_timeout              (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_get_client_block           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_auth_type          (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_getword            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_uudecode           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_getword_nulls_nc           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_regerror           (/usr/local/www/libexec/libphp3.so)
        symbol not found: ap_regexec            (/usr/local/www/libexec/libphp3.so)
        symbol not found: ldap_get_lderrno              (/usr/local/www/libexec/libphp3.so)
        symbol not found: ber_sockbuf_io_debug          (/usr/lib/libldap.so.2)
        symbol not found: ber_sockbuf_io_tcp            (/usr/lib/libldap.so.2)
        symbol not found: ber_sockbuf_io_readahead              (/usr/lib/libldap.so.2)
        symbol not found: ber_sockbuf_io_fd             (/usr/lib/libldap.so.2)
        symbol not found: ber_pvt_log_print             (/usr/lib/libldap.so.2)
        symbol not found: ber_memcalloc         (/usr/lib/libldap.so.2)
        symbol not found: ber_memfree           (/usr/lib/libldap.so.2)
        symbol not found: ber_sockbuf_alloc             (/usr/lib/libldap.so.2)
        symbol not found: ber_sockbuf_add_io            (/usr/lib/libldap.so.2)
        symbol not found: ber_sockbuf_ctrl              (/usr/lib/libldap.so.2)
        symbol not found: ber_get_next          (/usr/lib/libldap.so.2)
        symbol not found: ber_get_int           (/usr/lib/libldap.so.2)
        symbol not found: ber_free              (/usr/lib/libldap.so.2)
        symbol not found: ber_peek_tag          (/usr/lib/libldap.so.2)
        symbol not found: ber_scanf             (/usr/lib/libldap.so.2)
        symbol not found: ber_printf            (/usr/lib/libldap.so.2)
        symbol not found: ber_reset             (/usr/lib/libldap.so.2)
        symbol not found: ber_skip_tag          (/usr/lib/libldap.so.2)
        symbol not found: ber_dup               (/usr/lib/libldap.so.2)
        symbol not found: ber_strdup            (/usr/lib/libldap.so.2)
        symbol not found: ber_memalloc          (/usr/lib/libldap.so.2)
        symbol not found: ber_first_element             (/usr/lib/libldap.so.2)
        symbol not found: ber_memrealloc                (/usr/lib/libldap.so.2)
        symbol not found: ber_next_element              (/usr/lib/libldap.so.2)
        symbol not found: ber_flatten           (/usr/lib/libldap.so.2)
        symbol not found: ber_memvfree          (/usr/lib/libldap.so.2)
        symbol not found: ber_bvfree            (/usr/lib/libldap.so.2)
        symbol not found: ber_flush             (/usr/lib/libldap.so.2)
        symbol not found: ber_sockbuf_free              (/usr/lib/libldap.so.2)
        symbol not found: ber_bvecfree          (/usr/lib/libldap.so.2)
        symbol not found: ber_set_option                (/usr/lib/libldap.so.2)
        symbol not found: ber_alloc_t           (/usr/lib/libldap.so.2)
        symbol not found: ber_write             (/usr/lib/libldap.so.2)
        symbol not found: ber_log_dump          (/usr/lib/libldap.so.2)
        symbol not found: ber_pvt_socket_set_nonblock           (/usr/lib/libldap.so.2)
        symbol not found: ber_init              (/usr/lib/libldap.so.2)
 
 
 
 
 
thanks,
 
Jan