From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 28 18:58:42 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1E38C294 for ; Mon, 28 Oct 2013 18:58:42 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E39D25B4 for ; Mon, 28 Oct 2013 18:58:41 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id z5so3224045lbh.34 for ; Mon, 28 Oct 2013 11:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=G6x/oRFbUQ7EZqiqfEMdU6XBWG/T9s2lhxE5Ib+kHWQ=; b=pB2Jk6+xM6LQPyr4dAXBE1oaxOslfos9gF2FGOa4H5XwxkxFArUVRMxWAQvsYUulVJ lZuXBRpfy54Qf6dW3qL2d1iSzKwy+eyHpFyF2Cp5rCa2orZaitbjZPZnaKNb9InnmFsy 3/ay4mHia9hqfTxVx3ZG3umfWO89TUR13Xo6kPmXRP977vXiYNI3vTyfbfyOaz6liP7M KHpNlfQMoaE606VoXhNkcRVJ1VSijFmO/3P7a37b95izq2QrdDy+6Cu7Rd3xWH1VCpi5 EJoStmiUuRLFjbp+Lq48iXJYDWmjFKY7z9AetbMs4jvc1zR6abDzK5MTMYC0tp7fDlni IykA== MIME-Version: 1.0 X-Received: by 10.152.36.170 with SMTP id r10mr2092764laj.48.1382986719338; Mon, 28 Oct 2013 11:58:39 -0700 (PDT) Received: by 10.114.176.34 with HTTP; Mon, 28 Oct 2013 11:58:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Oct 2013 16:58:39 -0200 Message-ID: Subject: Re: vlc-2.1.0.4 fails with libssh2 enabled From: William Grzybowski To: Kevin Oberman Content-Type: text/plain; charset=ISO-8859-1 Cc: multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 18:58:42 -0000 On Mon, Oct 28, 2013 at 4:33 PM, William Grzybowski wrote: > On Mon, Oct 28, 2013 at 4:23 PM, Kevin Oberman wrote: >> On Mon, Oct 28, 2013 at 9:56 AM, William Grzybowski >> 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.