Openssl updated to openssl-0.9.6b-18 error: /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': dso_dlfcn.o(.text+0xb9): undefined reference to `dlopen' dso_dlfcn.o(.text+0xc8): undefined reference to `dlopen' dso_dlfcn.o(.text+0x121): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': dso_dlfcn.o(.text+0x192): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': dso_dlfcn.o(.text+0x253): undefined reference to `dlsym' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': dso_dlfcn.o(.text+0x305): undefined reference to `dlsym' collect2: ld returned 1 exit status make: *** [ssh] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.23187 (%build)
update bug info error at link time: i386-redhat-linux-gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/kerberos/lib -l ssh -lopenbsd-compat -lresolv -lutil -lz -lnsl /usr/lib/libcrypto.a -lkrb5 -l k5crypto -lcom_err only when: # Do we want to link against a static libcrypto? (1=yes 0=no) %define static_libcrypto 1
Fixed some time ago: http://groups.google.com/groups?hl=pl&lr=&frame=right&th=74c666b050f07d80&seekm=1015852517.770111%40sj-nntpcache-5#link1 Please update spec file: -perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a|g" Makefile +perl -pi -e "s|-lcrypto|/usr/lib/libcrypto.a -ldl|g" Makefile
Mass change of RESOLVED bugs to CLOSED