Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 17:26:44 +0000
From:      Pete French <pfrench@firstcallgroup.co.uk>
To:        stable@FreeBSD.ORG
Subject:   Linking with SSl librarie sunder 4.8-RC
Message-ID:  <E18tsxA-0002J0-00@mailhost.firstcallgroup.co.uk>

next in thread | raw e-mail | index | archive | help

Just updated the system to 4.8-RC (supped at aroudn 4pm GMT today). It
all buil, installs and runs fine. But now when compiling code (which was
building fine on a 4.7-STABLE from december) I get a host of errors:

/usr/lib/libssl.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib/libssl.so: undefined reference to `EVP_aes_128_cbc'
/usr/lib/libssl.so: undefined reference to `BUF_MEM_grow_clean'
/usr/lib/libssl.so: undefined reference to `RSA_up_ref'

plus a large set of errors along the lines of:

PFData.m(.text+0x1493): undefined reference to `DES_string_to_key'
PFData.m(.text+0x14a2): undefined reference to `DES_is_weak_key'
PFData.m(.text+0x14c7): undefined reference to `DES_set_key'

The compile line is:

cc  -o libtest libtest.o -L . -L/usr/local/lib -lpf -lobjc -lz -ldes -lm -lssl -lmd -lxml2

and I cant find any reference to problems like this in UPDATING or on
the web anywhere. This only appplies to the compilation of new code,
anything compiler perviously still runs fine.

I am assuming this is something to do with the new openssl, but I cant
for the life of me work out whats changed so much that I cant link with these
libraries. I feel somewhat caught out - I tested everything ran properly,
and was pretty confident the update hadnt broken anything, though I
didnt think to try recompiling things. Its kind of brought development to
an abrupt halt for today as you can imagine!

-pcf.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18tsxA-0002J0-00>