From owner-freebsd-multimedia@FreeBSD.ORG Fri Aug 8 11:38:37 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18515106566C for ; Fri, 8 Aug 2008 11:38:37 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 8D4F98FC1D for ; Fri, 8 Aug 2008 11:38:36 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id B8D2774417D; Fri, 8 Aug 2008 14:07:53 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eQRXut1Qbj6I; Fri, 8 Aug 2008 14:07:53 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [91.198.50.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 6023874415E; Fri, 8 Aug 2008 14:07:53 +0300 (EEST) Message-ID: <489C2908.8070709@icyb.net.ua> Date: Fri, 08 Aug 2008 14:07:52 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.16 (X11/20080805) MIME-Version: 1.0 To: Henry Hu References: <53a1e0710808080028q529d7f23w5003bef0ddba319e@mail.gmail.com> In-Reply-To: <53a1e0710808080028q529d7f23w5003bef0ddba319e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: transcode: 1.0.5_3 => 1.0.6_1 fails at configure(gnome-config) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 11:38:37 -0000 on 08/08/2008 10:28 Henry Hu said the following: > My configure log says: > ... > checking ffmpeg/avcodec.h presence... yes > checking for ffmpeg/avcodec.h... yes > checking libavcodec/avcodec.h usability... no > checking libavcodec/avcodec.h presence... no > checking for libavcodec/avcodec.h... no > checking for pkgconfig support for libavcodec... no > checking for avcodec_thread_init in -lavcodec... yes > ... > > And the configure process finished normally. > My version of ffmpeg is 2007.10.04, rather old. > So I think the line > checking for avcodec_thread_init in -lavcodec... yes > is critical. Yes, this is what fails in my case because of undefined pthread symbols. > And where does your libavcodec/avcodec.h come from ? $ locate avcodec.h /usr/local/include/ffmpeg/avcodec.h $ pkg_which /usr/local/include/ffmpeg/avcodec.h ffmpeg-2008.07.27_2 $ ls -l /usr/local/lib/libavcodec.* -rw-r--r-- 1 root wheel 5157258 6 Aug 13:21 /usr/local/lib/libavcodec.a lrwxr-xr-x 1 root wheel 21 6 Aug 13:21 /usr/local/lib/libavcodec.so -> libavcodec.so.51.61.0 lrwxr-xr-x 1 root wheel 21 6 Aug 13:21 /usr/local/lib/libavcodec.so.1 -> libavcodec.so.51.61.0 -rwxr-xr-x 1 root wheel 3746176 6 Aug 13:21 /usr/local/lib/libavcodec.so.51.61.0 $ nm -D /usr/local/lib/libavcodec.so.51.61.0 | fgrep thread 00000000002ba460 T avcodec_thread_execute 00000000002ba3c0 T avcodec_thread_free 00000000002ba530 T avcodec_thread_init U pthread_cond_broadcast U pthread_cond_destroy U pthread_cond_init U pthread_cond_signal U pthread_cond_wait U pthread_create U pthread_join U pthread_mutex_destroy U pthread_mutex_init U pthread_mutex_lock U pthread_mutex_unlock $ ldd /usr/local/lib/libavcodec.so.51.61.0 /usr/local/lib/libavcodec.so.51.61.0: liba52.so.0 => /usr/local/lib/liba52.so.0 (0x800f1e000) libavutil.so.1 => /usr/local/lib/libavutil.so.1 (0x80102b000) libz.so.3 => /lib/libz.so.3 (0x801137000) libm.so.4 => /lib/libm.so.4 (0x80124b000) libtheora.so.0 => /usr/local/lib/libtheora.so.0 (0x801367000) libvorbisenc.so.2 => /usr/local/lib/libvorbisenc.so.2 (0x8014a0000) libvorbis.so.4 => /usr/local/lib/libvorbis.so.4 (0x801778000) libx264.so.50 => /usr/local/lib/libx264.so.50 (0x8018a2000) libogg.so.5 => /usr/local/lib/libogg.so.5 (0x801a37000) libX11.so.6 => /usr/local/lib/libX11.so.6 (0x801b3c000) libgpac.so.1 => /usr/local/lib/libgpac.so.1 (0x801d43000) libXau.so.6 => /usr/local/lib/libXau.so.6 (0x8020a7000) libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x8021aa000) librpcsvc.so.3 => /usr/lib/librpcsvc.so.3 (0x8022af000) libssl.so.4 => /usr/lib/libssl.so.4 (0x8023b8000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x8024f0000) $ uname -srm FreeBSD 6.3-RELEASE amd64 -- Andriy Gapon