Page 1 of 1

Compile error on: /usr/bin/ld: cannot find -lssl

Posted: Wed Jun 14, 2006 12:02 pm
by Turbo_boy
Hi there people,

I got this error while compiling with ssl

gcc -I../include -I/root/Unreal3.2/extras/regexp/include -I/root/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -I/root/openssl-0.9.8b/include -DZIP_LINKS -export-dynamic -L/root/openssl-0.9.8b/lib -lssl -lcrypto -o ircd res.o s_bsd.o auth.o aln.o badwords.o channel.o cloak.o crule.o dbuf.o events.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o match.o modules.o packet.o parse.o s_auth.o s_conf.o s_debug.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_svs.o socket.o ssl.o s_user.o charsys.o scache.o send.o support.o umodes.o version.o webtv.o whowas.o zip.o cidr.o random.o extcmodes.o extbans.o md5.o api-isupport.o api-command.o -lcrypt -lnsl -lz -ldl -L../extras/regexp/lib -ltre -L../extras/c-ares/lib -lcares -lssl -lcrypto
/usr/bin/ld: cannot find -lssl
collect2: ld gaf exit-status 1 terug
make[1]: *** [ircd] Fout 1
make[1]: Leaving directory `/root/Unreal3.2/src'
make: *** [build] Fout 2

I do no remote includes I downloaded the newest openssl (0.9.8b)

Posted: Wed Jun 14, 2006 2:08 pm
by Ron2K
Look, I'm a Windows user. That being said, I would guess that Unreal either can't find OpenSSL, or you specified the wrong path during ./Config.

If I'm wrong, someone please correct me...

Posted: Wed Jun 14, 2006 4:43 pm
by Turbo_boy
I hat the frong path first then with ./Config it stopped already saying can't find.....

I can put all information to my certification but after that it stops in the make option.

It's my openssl path because that can't be frong just /root/openssl-0.9.8b

that's not so hard to put I think.