Bug 251 - openssh-3.2.2p1-1.src.rpm won't build under RH6.2
Summary: openssh-3.2.2p1-1.src.rpm won't build under RH6.2
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-18 18:15 AEST by Sebastian Pachuta
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pachuta 2002-05-18 18:15:17 AEST
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)
Comment 1 Sebastian Pachuta 2002-05-20 09:29:39 AEST
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 
 
Comment 2 Sebastian Pachuta 2002-05-20 10:29:29 AEST
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 
 
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED