From owner-freebsd-questions Tue Sep 5 9:14:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from buchanan-181-249.stures.iastate.edu (buchanan-181-249.stures.iastate.edu [129.186.181.249]) by hub.freebsd.org (Postfix) with ESMTP id 3176C37B43E for ; Tue, 5 Sep 2000 09:14:17 -0700 (PDT) Received: (from kparz@localhost) by buchanan-181-249.stures.iastate.edu (8.11.0/8.11.0) id e85GEqS07261 for freebsd-questions@freebsd.org; Tue, 5 Sep 2000 11:14:52 -0500 (CDT) (envelope-from kparz) Date: Tue, 5 Sep 2000 11:14:52 -0500 From: Krzysztof Parzyszek To: freebsd-questions@freebsd.org Subject: Static linking of OpenSSL Message-ID: <20000905111451.A7168@buchanan-181-249.stures.iastate> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Recently I tried to compile a simple program using OpenSSL. It compiled, linked and ran fine with the dynamic version of libcrypto. However, when I tried to use libcrypto.a, I got unresolved symbol in it: RSA_PKCS1. The symbol was defined in librsa{INTL,USA}.a, but those libraries use symbols defined in libcrypto.a, thus creating circular dependencies. I worked it around by specifying ``-u'' option for the GNU linker, but I was wondering if there is a more elegant solution to it? Thank you, -- , The power . Any sufficiently advan- dP to serve 7b Krzysztof Parzyszek .----> ced bug is indistingui- (8b ____ d8) --------------------+----> shable from a feature. `88bo8FBSD8od88' hektor@iname.com `----> -- Rich Kulawiec To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message