Date: Fri, 08 Aug 2008 14:07:52 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: Henry Hu <henry.hu.sh@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: transcode: 1.0.5_3 => 1.0.6_1 fails at configure(gnome-config) Message-ID: <489C2908.8070709@icyb.net.ua> In-Reply-To: <53a1e0710808080028q529d7f23w5003bef0ddba319e@mail.gmail.com> References: <53a1e0710808080028q529d7f23w5003bef0ddba319e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?489C2908.8070709>