ich habe folgendes Problem. Wollte mit das CHroot Paket von SSH kompilieren, ./configure läuft auch ohne Probleme durch:
Code: Select all
virtualdebian:~/chroot/openssh-3.6.1p1-chroot# clearns:
User binaries: /usr/local/bin
System binaries: /usr/local/sbin
Configuration files: /usr/local/etc
Askpass program: /usr/local/libexec/ssh-askpass
Manual pages: /usr/local/man/manX
PID file: /var/run
Privilege separation chroot path: /var/empty
sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Manpage format: doc
PAM support: no
KerberosIV support: no
KerberosV support: no
Smartcard support: no
AFS support: no
S/KEY support: no
TCP Wrappers support: no
MD5 password support: no
IP address in $DISPLAY hack: no
Use IPv4 by default hack: no
Translate v4 in v6 hack: yes
BSD Auth support: no
Random number source: OpenSSL internal ONLY
Host: i686-pc-linux-gnu
Compiler: gcc
Compiler flags: -g -O2 -Wall -Wpointer-arith -Wno-uninitialized
Preprocessor flags: -I/usr/local/ssl/include
Linker flags: -L/usr/local/ssl/lib
Libraries: -lutil -lz -lnsl -lcrypto -lcrypt
Code: Select all
virtualdebian:~/chroot/openssh-3.6.1p1-chroot# make
(cd openbsd-compat && make)
make[1]: Entering directory `/root/chroot/openssh-3.6.1p1-chroot/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/chroot/openssh-3.6.1p1-chroot/openbsd-compat'
gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh -lopenbsd-compat -lutil -lz -
nsl -lcrypto -lcrypt
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x51): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x7d): undefined reference to `dlerror'
dso_dlfcn.o(.text+0xe8): undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1a6): undefined reference to `dlsym'
dso_dlfcn.o(.text+0x1d0): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x297): undefined reference to `dlsym'
dso_dlfcn.o(.text+0x2c1): undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x6f5): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
Danke für die Tips!!