Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 23:35:46 +0100
From:      Jimmy Renner <jimbo@renner.se>
To:        Greg Byshenk <freebsd@byshenk.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Mumble in pkg
Message-ID:  <20170123233546.Horde.tXpu0Ir-5wbYY-rs9wfg1Um@renner.se>
In-Reply-To: <20170123213326.GD731@v1.leiden.byshenk.net>
References:  <20170123162659.Horde.CAdI8qu8YGA-DxGS1MXC6Wj@renner.se> <e5c97e9f-8f12-b7a9-1491-8e937f59b8df@FreeBSD.org> <20170123172039.Horde.EefRiuOUnzwhO8o7tlgwK45@renner.se> <6fd77374-2852-d00b-6a27-c2bb7cba680f@FreeBSD.org> <20170123210519.Horde.WKenDXzj14qhsEJFjxYhBRF@renner.se> <20170123213326.GD731@v1.leiden.byshenk.net>

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

Citerar Greg Byshenk <freebsd@byshenk.net>:

> 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


I won't correct you :-)

I thought as the binaries reported different things and that when  
doing ldd they pointed to different libraries that they shouldn't  
interfere with eachother but clearly I was wrong since temporarily  
moving the ports openssl files made the pkg version of mumble work.

Now I just have to see if anything else is affected by removing the  
port openssl :-)

Thanks!


Cheers, Jimmy




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170123233546.Horde.tXpu0Ir-5wbYY-rs9wfg1Um>