Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 16:58:39 -0200
From:      William Grzybowski <william88@gmail.com>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        multimedia@freebsd.org
Subject:   Re: vlc-2.1.0.4 fails with libssh2 enabled
Message-ID:  <CAHtVNLNA9KnG3fhrDtn%2BKUzHhqO8rh3_7aY89M8Dut76=E6zgw@mail.gmail.com>
In-Reply-To: <CAHtVNLM-0O0v2WTo3mCKxJ9SJhnEsCtzG-rYc0wx8WKMR-piiw@mail.gmail.com>
References:  <CAN6yY1uJxUhFQ%2BNK97peJB=5MxXpFjKEEL9WMcFD_rRHywOJAA@mail.gmail.com> <CAHtVNLO1D8%2BXsuam0mqfbtnZiPPwoL8Yjfty2k6UCQgw6Oi%2B=g@mail.gmail.com> <CAN6yY1vJukMKSrx8pNfvhpk9YrBW0wcAvWSoBP8XV9R_nVun8w@mail.gmail.com> <CAHtVNLM-0O0v2WTo3mCKxJ9SJhnEsCtzG-rYc0wx8WKMR-piiw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 28, 2013 at 4:33 PM, William Grzybowski <william88@gmail.com> wrote:
> On Mon, Oct 28, 2013 at 4:23 PM, Kevin Oberman <rkoberman@gmail.com> wrote:
>> On Mon, Oct 28, 2013 at 9:56 AM, William Grzybowski <william88@gmail.com>
>> wrote:
>>>
>>> It looks like it is an openssl problem.
>>> Have you tried installing the openssl package from ports?
>>>
>> William,
>>
>> Thanks for the very quick response!
>>
>> I had not, but I just gave it a try and it allows vlc to configure, build,
>> and run. But this is not the right solution. Makefile does not have a direct
>> dependency on openssl at all, only libgcrypt and libssh2. Since both are
>> happy with the base openssl, vlc should build just fine!
>
> Obviously! I never said it was :)

Just to be clear here. It is an issue with libssh2, vlc has no control
over openssl libraries.

$ cat /usr/local/libdata/pkgconfig/libssh2.pc|grep ssl
Requires.private: libssl,libcrypto

So security/libssh2 should be fixed to use the correct openssl
libraries, if thats the case.

>
>> In fact, after building vlc with openssl, it still does not use it. It uses
>> the base version.since that is what openssh2 uses. It's just that pkg-config
>> can't find openssl.pc since the base version does not create one (or any .pc
>> files).  there is never a run dependency on it:
>> # ldd /usr/local/bin/vlc
>> /usr/local/bin/vlc:
>>     libvlc.so.9 => /usr/local/lib/libvlc.so.9 (0x2c41c000)
>>     libvlccore.so.7 => /usr/local/lib/libvlccore.so.7 (0x2c634000)
>>     libidn.so.17 => /usr/local/lib/libidn.so.17 (0x2c8f8000)
>>     libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2cb2a000)
>>     libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x2ce26000)
>>     libm.so.5 => /lib/libm.so.5 (0x2d078000)
>>     libthr.so.3 => /lib/libthr.so.3 (0x2d299000)
>>     libc.so.7 => /lib/libc.so.7 (0x2d4bc000)
>
> It is a plugin, not in the vlc binary, check
> /usr/local/lib/vlc/plugins/access/libaccess_sftp_plugin.so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtVNLNA9KnG3fhrDtn%2BKUzHhqO8rh3_7aY89M8Dut76=E6zgw>