vlc-2.1.0.4 fails with libssh2 enabled

William Grzybowski william88 at gmail.com
Mon Oct 28 18:58:42 UTC 2013


On Mon, Oct 28, 2013 at 4:33 PM, William Grzybowski <william88 at gmail.com> wrote:
> On Mon, Oct 28, 2013 at 4:23 PM, Kevin Oberman <rkoberman at gmail.com> wrote:
>> On Mon, Oct 28, 2013 at 9:56 AM, William Grzybowski <william88 at 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.


More information about the freebsd-multimedia mailing list