From owner-freebsd-stable Fri Mar 14 9:26:48 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43CD137B401 for ; Fri, 14 Mar 2003 09:26:47 -0800 (PST) Received: from mailhost.firstcallgroup.co.uk (dilbert.firstcallgroup.co.uk [194.200.93.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B91243F85 for ; Fri, 14 Mar 2003 09:26:46 -0800 (PST) (envelope-from pfrench@firstcallgroup.co.uk) Received: from pfrench by mailhost.firstcallgroup.co.uk with local (Exim 3.36 #1) id 18tsxA-0002J0-00 for stable@FreeBSD.ORG; Fri, 14 Mar 2003 17:26:44 +0000 To: stable@FreeBSD.ORG Subject: Linking with SSl librarie sunder 4.8-RC Message-Id: From: Pete French Date: Fri, 14 Mar 2003 17:26:44 +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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