From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 01:56:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E68367EC for ; Tue, 9 Dec 2014 01:56:58 +0000 (UTC) Received: from icp-osb-irony-out2.external.iinet.net.au (icp-osb-irony-out2.external.iinet.net.au [203.59.1.218]) by mx1.freebsd.org (Postfix) with ESMTP id 6C35F31C for ; Tue, 9 Dec 2014 01:56:58 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloFAIBWhlR90bfD/2dsb2JhbABZgwaBKoI1sG4GmGkCgSwWAQEBAQF9hAMBAQQ6PxALDQETJQ8FGDETiDfWZwEBAQcBAQEBHoYjihkHgyGBFQWXIYEOhGMkC4tLhAIrMIJDAQEB X-IronPort-AV: E=Sophos;i="5.07,541,1413216000"; d="scan'208";a="282411310" Received: from unknown (HELO smtp.phoenix) ([125.209.183.195]) by icp-osb-irony-out2.iinet.net.au with ESMTP; 09 Dec 2014 09:56:50 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id AE3C546F; Tue, 9 Dec 2014 12:56:49 +1100 (AEDT) Date: Tue, 9 Dec 2014 12:56:49 +1100 From: andrew clarke To: Joseph Olatt Subject: Re: clang compilation issues on FreeBSD 10.1-STABLE Message-ID: <20141209015649.GA95798@ozzmosis.com> References: <20141209014434.GA11497@shellx.eskimo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141209014434.GA11497@shellx.eskimo.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 01:56:59 -0000 On Mon 2014-12-08 17:44:34 UTC-0800, Joseph Olatt (joji@shellx.eskimo.com) wrote: > /* Begin compile command */ > c++ tt.cpp -lssl > /* End compile command */ > > > /* Begin compile error */ > /usr/bin/ld: //lib/libcrypto.so.7: invalid DSO for symbol `EVP_CIPHER_CTX_init' definition > //lib/libcrypto.so.7: could not read symbols: Bad value > c++: error: linker command failed with exit code 1 (use -v to see invocation) > /* End compile error */ It links for me on 10.1-REL if I replace -lssl with -lcrypto.