From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 08:00:37 2014 Return-Path: Delivered-To: freebsd-questions@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 ESMTPS id 978DF7D8 for ; Sun, 7 Sep 2014 08:00:37 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CDB71F37 for ; Sun, 7 Sep 2014 08:00:36 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XQXOj-0007zL-0t for freebsd-questions@freebsd.org; Sun, 07 Sep 2014 10:00:33 +0200 Received: from pool-173-79-82-127.washdc.fios.verizon.net ([173.79.82.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Sep 2014 10:00:33 +0200 Received: from nightrecon by pool-173-79-82-127.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Sep 2014 10:00:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: missing lipmp3lame with openshot Date: Sun, 07 Sep 2014 04:00:19 -0400 Lines: 83 Message-ID: References: <540B5779.9020706@dreamchaser.org> <540B8CAB.5090801@dreamchaser.org> <540BEE34.2030108@dreamchaser.org> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-82-127.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 08:00:37 -0000 Gary Aitken wrote: [snip] >>>> >>>>> I'm trying out openshot to learn something about video editing. >>>>> When I go to export, it claims: "The following codec(s) are missing >>>>> from your system: libmp3lame" >>>>> >>>>> The openshot executable is statically linked, and there is a >>>>> libmp3lame.a in /usr/local/lib, as a result of installing >>>>> multimedia/gstreamer-ffmpeg, I think. >>>>> [snip] >>> other ideas? >> >> Not much of any, per se. The above would seem to indicate that it did >> build against libmp3lame. At this juncture the only thing I'm left >> wondering about is which system, e.g is this a problem wrt to 9.x still >> using a really old GCC or is it a 10.x situation which has changed to >> Clang. From what little I know I believe that the ports build guys tried >> to go through the ports tree >> and winnow out for further work those which failed to build, or >> otherwise had some trouble building with Clang. I seem to recall they >> wanted reports of such at the time. Don't know if this has any bearing on >> this particular case, it's just all I can think of... > > ah, I think the issue with the static load is that the executable is a > python script... > > I see I have way too many pythons installed for comfort: > > $ pkg info | grep python > py27-goocanvas-0.14.1_5 GooCanvas python bindings > python-2.7_2,2 The "meta-port" for the default version of > Python interpreter > python2-2_3 The "meta-port" for version 2 of the Python > interpreter > python27-2.7.8_4 Interpreted object-oriented programming > language > > This may be a result of doing some incremental builds of ports, rather > than > everything all at once; or not. If the above should not normally all be > installed at once, is there an easy way to determine which ports need to > be > rebuilt? The openshot script runs python2.7 which was installed by the > 2.7.8_4 package, but some library it uses may well have been installed by > one of the earlier versions. The python involvement was another thing I thought about, but didn't go there as I had nothing really concrete to go on, other than just a tingle of a hunch/question/doubt. On a 9.3 box here I have: python-2.7_2,2 python2-2_3 python27-2.7.8_4 whilst on the 10.0 box I show: python2-2_3 python27-2.7.8_4 I'm left wondering if the top line on the 9.3 machine may be cruft. pkg info -r shows reverse dependencies and pkg info -d will show dependencies of installed package I'm uncertain as to how python gets involved in a build process. Something I look at from time to time wrt to build questions are to rummage around and grep stuff in /usr/ports/Mk in order to attempt to gain understanding on what default build path(s) and/or options might exist. Such things change from time to time and require associatted alterations in /etc/make.conf - example such as WITH_BDB_VER=5, DEFAULT_VERSIONS+=php=5.3 mysql=5.6 apache=2.2, etc, and such. Another is WITH_PKGNG= yes I have in make.conf on the 9. box as I believe it's supposed to be there and yet it is not present on the 10.x box as I believe it's not required in 10.x. Certainly not much here on my end to go on - just brainstorming. Hope you get it sorted. -Mike