[uClibc] libdl-0.9.20.so not found

Karsten Kruse tecneeq at gmx.net
Fri Jul 4 02:14:52 UTC 2003


Hi,

i try to compile Openssh with the 0.9.20-dev-system. This was the plan
(worked with the previous dev-system):

 - rm everything wich has todo with Openssl or Openssh
 - compile openssl-0.9.7b.tar.gz:
   CFLAGS="-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA \
           -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5"
   ./Configure linux-elf --prefix=/usr --openssldir=/usr/lib/ssl -ldl \
               zlib-dynamic no-threads shared no-idea no-mdc2 no-rc5
   make all build-shared
   make install
   make DESTDIR=target_dir install
 - compile openssh-3.6.1p2.tar.gz:
   ./configure --prefix=/usr --disable-lastlog --disable-utmp \
               --disable-utmpx --disable-wtmp --disable-wtmpx \
               --without-x --disable-nls
   make
   make DESTDIR=target_dir install

With the new dev-system Openssh's configure stops:

 configure: error: *** Can't find recent OpenSSL libcrypto (see
                       config.log for details) ***

This is from config.log:

 configure:9483: gcc -o conftest -g -O2 -Wall -Wpointer-arith
                     -Wno-uninitialized -I/usr/local/ssl/include
                     -L/usr/local/ssl/lib  conftest.c -lutil
                     -lz -lcrypto >&5
 /usr/lib/gcc-lib/i386-linux/3.3/../../../../i386-linux/bin/ld: warning:
    libdl.so.0, needed by
    /usr/lib/gcc-lib/i386-linux/3.3/../../../libcrypto.so, not found (try
    using -rpath or -rpath-link)
 /usr/lib/gcc-lib/i386-linux/3.3/../../../libcrypto.so: undefined
    reference to `dlerror'
 /usr/lib/gcc-lib/i386-linux/3.3/../../../libcrypto.so: undefined
    reference to `dlclose'
 /usr/lib/gcc-lib/i386-linux/3.3/../../../libcrypto.so: undefined
    reference to `dlopen'
 /usr/lib/gcc-lib/i386-linux/3.3/../../../libcrypto.so: undefined
    reference to `dlsym'
 collect2: ld returned 1 exit status

ldd libcrypto.so.0.9.7 says:

 ldd /usr/lib/libcrypto.so.0.9.7
        libdl.so.0 => /lib/libdl.so.0 (0x00000000)
        libc.so.0 => /lib/libc.so.0 (0x00000000)
        /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)

Thanks for any help or hints :).

Karsten

-- 
        Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
  ()    Linux/NetBSD-Anleitungen, Forum  und Chat: www.newbie-net.de
 <\/>
 _/\_   When you are in it up to your ears, keep your mouth shut.



More information about the uClibc mailing list