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

Note: This archive is from the project's previous web site, 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/ -L/opt/gnome/lib epan/.libs/ -L/usr/lib /usr/lib/ /usr/lib/ -lpcap -pthread /opt/gnome/lib/ /opt/gnome/lib/ /opt/gnome/lib/ /opt/gnome/lib/ -lm /opt/gnome/lib/ /opt/gnome/lib/ /opt/gnome/lib/ /opt/gnome/lib/ /opt/gnome/lib/ -ldl /opt/gnome/lib/ -lpthread /opt/gnome/lib/ -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