From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 28 18:33:56 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 933EDFF8 for ; Mon, 28 Oct 2013 18:33:56 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2055E2407 for ; Mon, 28 Oct 2013 18:33:55 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id u14so3263812lbd.29 for ; Mon, 28 Oct 2013 11:33:54 -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=A64B1dInMCj0xbsPL7XHw5p3VjzM0kiTwGd46JRoOCM=; b=G2Fu4o4X/0sj3aWBX9opBa+WWykrJJMkFnIaEBMusZhLsSxvgAoUvzW1oOlwTGBW+M 6btQyV6ipxJHj1vbjIWRz4Rqxf61dNILeqL8XPOg3H31lOMclbGiYES5zbzDbxPxupQI EiIwKsZ/cwH6G5twE0DKehh7n5QeDP2cvlQX9I7rZAcR9Y1x9hr6AV9ydmAhLtbi5WMH up4pN8ZrZQnvKYiciZUHe0AZJGafkDe8QKAx2KS+q9t53hRycsSp8yP4oSkToSs08V9P oJQmOOG/102U9hrlurYoVR1Eb5o/WEhXobPfrft6nvnOn6Pw7AwtWvnMgwqtf/XakTVa 1tgw== MIME-Version: 1.0 X-Received: by 10.152.36.170 with SMTP id r10mr2016931laj.48.1382985234103; Mon, 28 Oct 2013 11:33:54 -0700 (PDT) Received: by 10.114.176.34 with HTTP; Mon, 28 Oct 2013 11:33:54 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Oct 2013 16:33:54 -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:33:56 -0000 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 :) > 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. > -- > R. Kevin Oberman, Network Engineer > E-mail: rkoberman@gmail.com > >> >> On Mon, Oct 28, 2013 at 2:52 PM, Kevin Oberman >> wrote: >> >> > Since the vlc port was updated last week I have been unable to update. I >> > have selected libssh2 in the configuration, but when configure is run, >> > it >> > ways libssh2 is not found. >> > checking for SFTP... no >> > configure: error: Library libssh2 needed for sftp was not found >> > ===> Script "configure" failed unexpectedly. >> > Please report the problem to multimedia@FreeBSD.org [maintainer] and >> > attach >> > the "/usr/ports/multimedia/vlc/work/vlc-2.1.0/config.log" including the >> > output >> > of the failure of your make command. Also, it might be a good idea to >> > provide >> > an overview of all packages installed on your system (e.g. a >> > /usr/sbin/pkg_info >> > -Ea). >> > *** [do-configure] Error code 1 >> > >> > Looking into the log I find: >> > configure:31648: checking for SFTP >> > configure:31655: $PKG_CONFIG --exists --print-errors "libssh2" >> > configure:31658: $? = 0 >> > configure:31672: $PKG_CONFIG --exists --print-errors "libssh2" >> > configure:31675: $? = 0 >> > configure:31689: result: no >> > Package libssl was not found in the pkg-config search path. >> > Perhaps you should add the directory containing `libssl.pc' >> > to the PKG_CONFIG_PATH environment variable >> > Package 'libssl', required by 'libssh2', not found >> > Package 'libcrypto', required by 'libssh2', not found >> > >> > But pkg-config has no problem with libssh2: >> > # pkg-config --exists --print-errors libssh2 >> > # echo $? >> > 0 >> > # >> > >> > configure for this sftp is a bit convoluted for my poor sh skills, but I >> > can't figure out why it's failing. It makes it through the tests at >> > 31675, >> > but then files the library test. But I manually execute that test and it >> > passes. >> > # pkg-config --libs "libssh2" >> > -L/usr/local/lib -lssh2 -Wl,-rpath=/usr/lib:/usr/local/lib >> > # echo $? >> > 0 >> > # >> > >> > Anyone with good sh ability want to look into this? In the interim, I >> > have >> > re-installed vlc without support for sftp. >> > >> > If I don't se anything on this in te next day, I'll open a PR, but I'm >> > hoping that this is a trivial tweak that can be quickly be fixed by >> > someone. >> >> -- >> William Grzybowski >> ------------------------------------------ >> Curitiba/PR - Brasil > > -- William Grzybowski ------------------------------------------ Curitiba/PR - Brasil