From owner-freebsd-ports@freebsd.org Mon Jan 23 21:42:19 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60CE2CBD6F2 for ; Mon, 23 Jan 2017 21:42:19 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from v1.leiden.byshenk.net (v1.leiden.byshenk.net [37.97.209.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2B055E7C for ; Mon, 23 Jan 2017 21:42:19 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: by v1.leiden.byshenk.net (Postfix, from userid 1002) id 7C1C37594C; Mon, 23 Jan 2017 22:33:26 +0100 (CET) Date: Mon, 23 Jan 2017 22:33:26 +0100 From: Greg Byshenk To: freebsd-ports@freebsd.org Cc: Jimmy Renner Subject: Re: Mumble in pkg Message-ID: <20170123213326.GD731@v1.leiden.byshenk.net> References: <20170123162659.Horde.CAdI8qu8YGA-DxGS1MXC6Wj@renner.se> <20170123172039.Horde.EefRiuOUnzwhO8o7tlgwK45@renner.se> <6fd77374-2852-d00b-6a27-c2bb7cba680f@FreeBSD.org> <20170123210519.Horde.WKenDXzj14qhsEJFjxYhBRF@renner.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170123210519.Horde.WKenDXzj14qhsEJFjxYhBRF@renner.se> User-Agent: Mutt/1.7.0 (2016-08-17) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2017 21:42:19 -0000 On Mon, Jan 23, 2017 at 09:05:19PM +0100, Jimmy Renner wrote: > >>> On 2017/01/23 15:26, Jimmy Renner wrote: > >>>> I might be totally off (and in the wrong forum) but I'm having problems > >>>> running the mumble version fetched by pkg, if I try to build the same > >>>> version in ports everything works fine. The failing one complains about > >>>> "unable to allocate SSL_CTX". The big difference I see is that the pkg > >>>> version is using /usr/lib/lbssl.so.8 and /lib/libcrypto.so.8 and the > >>>> ports version is using /usr/local/lib/libcrypto.so.9 and > >>>> /usr/local/lib/libssl.so.9. The odd thing is that both binaries are > >>>> reporting to be version OpenSSL 1.0.2j though the one depending on the > >>>> libs in /usr/lib says OpenSSL 1.0.2j-freebsd. > Ok, openssl-1.0.2j_1,1 is installed, from pkg. Ok, so I think what's going on here is that: The pkg version of mumble uses the default system OpenSSL, but you've installed the OpenSSL port (via the package). This means that the port builds fine - using the non-system OpenSSL that you've installed. But the pkg conflicts, because it wants the system OpenSSL -- and /usr/local/lib/* is found first. There are probably other ways to fix this, but the easiest is to either a) remove the OpenSSL pkg, or b) build mumble as a port. [Corrections welcome if I have something wrong.] -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL