Hello. Installed OpenSSL-0.98 I cannot collect new OpenSSH-4.2p1 at assembly there is a mistake: if test ! -z ""; then \ /usr/bin/perl5 ./fixprogs ssh_prng_cmds ; \ fi (cd openbsd-compat && make) make[1]: Entering directory `/home/pkg/openssh-4.2p1/openbsd-compat' make[1]: ???? `all' ?? ??????? ?????????? ??????. make[1]: Leaving directory `/home/pkg/openssh-4.2p1/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 -lresolv -lcrypto -lutil -lz -lnsl -lcrypt /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x51b): In function `dlfcn_unload': : undefined reference to `dlclose' collect2: ld returned 1 exit status make: *** [ssh] Error 1 _______________________________ ? ????????? ?????? ?????????. ???. 772-61-07 Email: support at lancronix.ru
* support at lancronix.ru <support at lancronix.ru> [2005-09-06 12:08:56 +0400]:> Installed OpenSSL-0.98 > I cannot collect new OpenSSH-4.2p1 at assembly there is a mistake: > > > > if test ! -z ""; then \ > /usr/bin/perl5 ./fixprogs ssh_prng_cmds ; \ > fi > (cd openbsd-compat && make) > make[1]: Entering directory `/home/pkg/openssh-4.2p1/openbsd-compat' > make[1]: ???? `all' ?? ??????? ?????????? ??????. > make[1]: Leaving directory `/home/pkg/openssh-4.2p1/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 -lresolv -lcrypto -lutil -lz -lnsl -lcrypt > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function `dlfcn_load': > : undefined reference to `dlopen' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function `dlfcn_load': > : undefined reference to `dlclose' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function `dlfcn_load': > : undefined reference to `dlerror' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function `dlfcn_bind_var': > : undefined reference to `dlsym' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function `dlfcn_bind_var': > : undefined reference to `dlerror' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function `dlfcn_bind_func': > : undefined reference to `dlsym' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function `dlfcn_bind_func': > : undefined reference to `dlerror' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x51b): In function `dlfcn_unload': > : undefined reference to `dlclose' > collect2: ld returned 1 exit status > make: *** [ssh] Error 1I don't know specifically what the problem is, but I do know that openssh 4.2 does play nice with openssl 0.9.8: [vdanen at build ~]$ rpm -q openssl openssl-0.9.8-2avx [vdanen at build ~]$ rpm -q openssh openssh-4.2p1-3avx This is on an Annvix 1.1-CURRENT system (2.4 Linux-based). Works just peachy. I'm not an expert or anything, so I'll defer to others on this, just wanted to pipe up to say that openssh does work with that version of openssl (works and compiles fine). However, you didn't note what operating system you're using, etc. which makes it a little difficult to help diagnose. -- Annvix - Secure Linux Server: http://annvix.org/ "lynx -source http://linsec.ca/vdanen.asc | gpg --import" {FEE30AD4 : 7F6C A60C 06C2 4811 FA1C A2BC 2EBC 5E32 FEE3 0AD4} -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20050906/86c09e53/attachment.bin
Jason.C.Burns at wellsfargo.com
2005-Sep-08 17:18 UTC
OpenSSH-4.2p1 with OpenSSL-0.98 (bug)
I am also seeing this problem on a Redhat EL with a kernel of 2.4.21-4. nm'ing the openssl libraries that are being used to compile openssh show that those symbols are undefined there as well. I'll begin looking there, but hopefully someone else knows what's going on with these functions. Jason Burns -----Original Message----- From: openssh-unix-dev-bounces+jason.c.burns=wellsfargo.com at mindrot.org [mailto:openssh-unix-dev-bounces+jason.c.burns=wellsfargo.com at mindrot.org] On Behalf Of support at lancronix.ru Sent: Tuesday, September 06, 2005 1:09 AM To: openssh-unix-dev at mindrot.org Subject: OpenSSH-4.2p1 with OpenSSL-0.98 (bug) Hello. Installed OpenSSL-0.98 I cannot collect new OpenSSH-4.2p1 at assembly there is a mistake: if test ! -z ""; then \ /usr/bin/perl5 ./fixprogs ssh_prng_cmds ; \ fi (cd openbsd-compat && make) make[1]: Entering directory `/home/pkg/openssh-4.2p1/openbsd-compat' make[1]: ???? `all' ?? ??????? ?????????? ??????. make[1]: Leaving directory `/home/pkg/openssh-4.2p1/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 -lresolv -lcrypto -lutil -lz -lnsl -lcrypt /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x51b): In function `dlfcn_unload': : undefined reference to `dlclose' collect2: ld returned 1 exit status make: *** [ssh] Error 1 _______________________________ ? ????????? ?????? ?????????. ???. 772-61-07 Email: support at lancronix.ru _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
Jason.C.Burns at wellsfargo.com
2005-Sep-08 17:41 UTC
OpenSSH-4.2p1 with OpenSSL-0.98 (bug)
It's always the simplest of stuff that stumps you... Geez! add "--with-ldflags=-ldl" at the configure step to compile correctly with OpenSSL 0.9.8. Jason Burns -----Original Message----- From: openssh-unix-dev-bounces+jason.c.burns=wellsfargo.com at mindrot.org [mailto:openssh-unix-dev-bounces+jason.c.burns=wellsfargo.com at mindrot.org] On Behalf Of Jason.C.Burns at wellsfargo.com Sent: Thursday, September 08, 2005 10:19 AM To: openssh-unix-dev at mindrot.org Subject: RE: OpenSSH-4.2p1 with OpenSSL-0.98 (bug) I am also seeing this problem on a Redhat EL with a kernel of 2.4.21-4. nm'ing the openssl libraries that are being used to compile openssh show that those symbols are undefined there as well. I'll begin looking there, but hopefully someone else knows what's going on with these functions. Jason Burns -----Original Message----- From: openssh-unix-dev-bounces+jason.c.burns=wellsfargo.com at mindrot.org [mailto:openssh-unix-dev-bounces+jason.c.burns=wellsfargo.com at mindrot.org] On Behalf Of support at lancronix.ru Sent: Tuesday, September 06, 2005 1:09 AM To: openssh-unix-dev at mindrot.org Subject: OpenSSH-4.2p1 with OpenSSL-0.98 (bug) Hello. Installed OpenSSL-0.98 I cannot collect new OpenSSH-4.2p1 at assembly there is a mistake: if test ! -z ""; then \ /usr/bin/perl5 ./fixprogs ssh_prng_cmds ; \ fi (cd openbsd-compat && make) make[1]: Entering directory `/home/pkg/openssh-4.2p1/openbsd-compat' make[1]: ???? `all' ?? ??????? ?????????? ??????. make[1]: Leaving directory `/home/pkg/openssh-4.2p1/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 -lresolv -lcrypto -lutil -lz -lnsl -lcrypt /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x51b): In function `dlfcn_unload': : undefined reference to `dlclose' collect2: ld returned 1 exit status make: *** [ssh] Error 1 _______________________________ ? ????????? ?????? ?????????. ???. 772-61-07 Email: support at lancronix.ru _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://www.mindrot.org/mailman/listinfo/openssh-unix-dev _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://www.mindrot.org/mailman/listinfo/openssh-unix-dev