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

building shared libraries on Solaris 7



Hi-

I'm trying to build OpenLDAP 2.0.7 shared libraries on Solaris. However I'm getting a whole bunch of symbol not found errors, when I
do a ldd -r on the built libraries. (see below)

My sysconfig:

uname -a
SunOS tempest 5.7 Generic_106541-02 sun4u sparc SUNW,UltraSPARC-IIi-Engine

gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)

echo $LD_LIBRARY_PATH
/lib:/usr/lib:/usr/local/lib:/usr/local/X11/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/ssl/lib

Configure was called as:
./configure  --without-kerberos --enable-shared

Any clues? The OpenLdap Server and the tools run without problems.

Thanks,

Markus

-----------------------------------------------------------------------------------
The errors:

ldd -r /usr/local/lib/liblber.so
        libc.so.1 =>     /lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        /usr/platform/SUNW,UltraSPARC-IIi-Engine/lib/libc_psr.so.1
        symbol not found: __eprintf             (/usr/local/lib/liblber.so)
        symbol not found: shutdown              (/usr/local/lib/liblber.so)

ldd -r /usr/local/lib/libldap.so
        libsasl.so.7 =>  /usr/local/lib/libsasl.so.7
        libssl.so.0 =>   /usr/local/ssl/lib/libssl.so.0
        libcrypto.so.0 =>        /usr/local/ssl/lib/libcrypto.so.0
        libc.so.1 =>     /lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libpam.so.1 =>   /lib/libpam.so.1
        libresolv.so.2 =>        /lib/libresolv.so.2
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        symbol not found: ber_memfree           (/usr/local/lib/libldap.so)
        symbol not found: ber_memcalloc         (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_io_debug          (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_io_tcp            (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_io_readahead              (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_io_fd             (/usr/local/lib/libldap.so)
        /usr/platform/SUNW,UltraSPARC-IIi-Engine/lib/libc_psr.so.1
        symbol not found: ber_memrealloc                (/usr/local/lib/libldap.so)
        symbol not found: ber_memalloc          (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_log_print             (/usr/local/lib/libldap.so)
        symbol not found: ber_memcalloc         (/usr/local/lib/libldap.so)
        symbol not found: ber_strdup            (/usr/local/lib/libldap.so)
        symbol not found: ber_memfree           (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_alloc             (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_add_io            (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_ctrl              (/usr/local/lib/libldap.so)
        symbol not found: ber_get_next          (/usr/local/lib/libldap.so)
        symbol not found: ber_get_int           (/usr/local/lib/libldap.so)
        symbol not found: ber_free              (/usr/local/lib/libldap.so)
        symbol not found: ber_peek_tag          (/usr/local/lib/libldap.so)
        symbol not found: ber_scanf             (/usr/local/lib/libldap.so)
        symbol not found: ber_printf            (/usr/local/lib/libldap.so)
        symbol not found: ber_reset             (/usr/local/lib/libldap.so)
        symbol not found: ber_skip_tag          (/usr/local/lib/libldap.so)
        symbol not found: ber_dup               (/usr/local/lib/libldap.so)
        symbol not found: ber_memalloc          (/usr/local/lib/libldap.so)
        symbol not found: ber_first_element             (/usr/local/lib/libldap.so)
        symbol not found: ber_memrealloc                (/usr/local/lib/libldap.so)
        symbol not found: ber_next_element              (/usr/local/lib/libldap.so)
        symbol not found: ber_flatten           (/usr/local/lib/libldap.so)
        symbol not found: ber_memvfree          (/usr/local/lib/libldap.so)
        symbol not found: ber_bvfree            (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_sb_buf_init           (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_sb_grow_buffer                (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_sb_buf_destroy                (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_log_printf            (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_sb_copy_out           (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_sb_do_write           (/usr/local/lib/libldap.so)
        symbol not found: ber_flush             (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_free              (/usr/local/lib/libldap.so)
        symbol not found: ber_bvecfree          (/usr/local/lib/libldap.so)
        symbol not found: ber_set_option                (/usr/local/lib/libldap.so)
        symbol not found: ber_alloc_t           (/usr/local/lib/libldap.so)
        symbol not found: ber_write             (/usr/local/lib/libldap.so)
        symbol not found: ber_log_dump          (/usr/local/lib/libldap.so)
        symbol not found: ber_pvt_socket_set_nonblock           (/usr/local/lib/libldap.so)
        symbol not found: ber_init              (/usr/local/lib/libldap.so)
        symbol not found: ber_sockbuf_remove_io         (/usr/local/lib/libldap.so)
        symbol not found: main          (/usr/local/ssl/lib/libssl.so.0)
        symbol not found: main          (/usr/local/ssl/lib/libcrypto.so.0)



Markus Strickler         Raytion GmbH
Dipl.-Ing.               Kaiser-Friedrich-Ring 74
                         40547 Düsseldorf
Application Development  Fon +49-211-550266-0
                         Fax +49-211-550266-19