Ethereal-dev: [Ethereal-dev] Link failed on SuSE9.1, "cannot find -lcrypto"

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <[email protected]>
Date: Sun, 11 Jul 2004 17:52:35 +0200
Hi List!

I've tried to compile released Ethereal 0.10.5 on SuSE 9.1, but failed when linking.
I suspect a problem in the autoconf process, but don't have enough 
knowledge on that.
The shell output is:

mkdir .libs
rm -f .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
creating .libs/etherealS.c
(cd .libs && gcc -c -fno-builtin "etherealS.c")
rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -DINET6 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -fno-strict-aliasing -Dlinux -I/usr/include/rpm -I. -I/usr/include -I/usr/include/heimdal -o .libs/ethereal pcap-util-unix.o capture_stop_conditions.o cfile.o conditions.o disabled_protos.o pcap-util.o range.o ringbuffer.o timestats.o version_info.o alert_box.o capture.o file.o filters.o g711.o merge.o proto_hier_stats.o summary.o .libs/etherealS.o -Wl,--export-dynamic -Wl,--export-dynamic -L/usr/local/lib gtk/libui.a wiretap/.libs/libwiretap.so -L/opt/gnome/lib epan/.libs/libethereal.so -L/usr/lib /usr/lib/libnetsnmp.so /usr/lib/libpcre.so -lpcap -pthread /opt/gnome/lib/libgtk-x11-2.0.so /opt/gnome/lib/libgdk-x11-2.0.so /opt/gnome/lib/libatk-1.0.so /opt/gnome/lib/libgdk_pixbuf-2.0.so -lm /opt/gnome/lib/libpangoxft-1.0.so /opt/gnome/lib/libpangox-1.0.so /opt/gnome/lib/libpango-1.0.so /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libgmodule-2.0.so -ldl /opt/gnome/lib/libgthread-2.0.so -lpthread /opt/gnome/lib/libglib-2.0.so -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lresolv -lz /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Fehler 1
make[2]: Leaving directory `/home/ulfl/ethereal-0.10.5'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/ulfl/ethereal-0.10.5'
make: *** [all] Fehler 2
linux:/home/ulfl/ethereal-0.10.5 #

When I remove the -lcrypto from the makefiles ethereal_LDADD, it will link/run/install successfully.
Regards, ULFL