[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-multimedia
Subject:    Re: ports/119983: multimedia/x264 not linked with libpthread
From:       "Jeremy Messenger" <mezz7 () cox ! net>
Date:       2008-01-26 16:40:02
Message-ID: 200801261640.m0QGe258097969 () freefall ! freebsd ! org
[Download RAW message or body]

The following reply was made to PR ports/119983; it has been noted by GNATS.

From: "Jeremy Messenger" <mezz7@cox.net>
To: =?utf-8?Q?Sebastian_Dr=C3=B6ge?= <slomo@circular-chaos.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/119983: multimedia/x264 not linked with libpthread
Date: Sat, 26 Jan 2008 10:37:13 -0600

 On Sat, 26 Jan 2008 07:15:35 -0600, Sebastian Dröge  
 <slomo@circular-chaos.org> wrote:
 
 >
 > Am Freitag, den 25.01.2008, 18:25 -0600 schrieb Jeremy Messenger:
 >> What's version of x264 do you have it installed? What options did you
 >> selected when you installed it? I personal can't reproduce, so I will  
 >> need
 >> to know more details (you can even send me a build log).
 >>
 >> # ldd /usr/local/lib/libx264.so
 >> /usr/local/lib/libx264.so:
 >> 	libm.so.5 => /lib/libm.so.5 (0x28185000)
 >> 	libgpac.so.1 => /usr/local/lib/libgpac.so.1 (0x28387000)
 >> 	libthr.so.3 => /lib/libthr.so.3 (0x2819a000)
 >> 	libc.so.7 => /lib/libc.so.7 (0x28089000)
 >> 	libz.so.4 => /lib/libz.so.4 (0x281ad000)
 >> 	libssl.so.5 => /usr/lib/libssl.so.5 (0x281bf000)
 >> 	libcrypto.so.5 => /lib/libcrypto.so.5 (0x285e9000)
 >>
 >> It links with libthr (pthread) in here.
 >
 > ldd /usr/local/lib/libx264.so
 > /usr/local/lib/libx264.so:
 > 	libm.so.4 => /lib/libm.so.4 (0x281ec000)
 > 	libgpac.so.1 => /usr/local/lib/libgpac.so.1 (0x28203000)
 > 	libz.so.3 => /lib/libz.so.3 (0x28457000)
 > 	libssl.so.4 => /usr/lib/libssl.so.4 (0x28469000)
 > 	libcrypto.so.4 => /lib/libcrypto.so.4 (0x28498000)
 >
 > The x264 version is x264-0.0.20070913 and was build with default
 > settings, i.e. without extra optimizations and debugging.
 >
 > When linking something to it, ld also complains about pthread_* symbols
 > in libgpac.so.1 that can't be resolved so maybe your libgpac is linked
 > with it while mine isn't?
 
 Yes, my libgpac.so.1 links with libthr here. In the gpac-libgpac port, it  
 links with pthread by default. In the gpac-libgpac/Makefile shows:
 
 -----------------------------------
 CONFIGURE_ARGS=	--cc="${CC}" \
 		--extra-cflags="${CFLAGS} ${PTHREAD_CFLAGS} -fPIC" \
 		--extra-ldflags="${LDFLAGS} ${PTHREAD_LIBS}"
 -----------------------------------
 
 In the pointyhat (our ports cluster) shows that gpac-libgpac and x264  
 build with -pthread.
 
 http://pointyhat.freebsd.org/errorlogs/i386-6-latest-logs/gpac-libgpac-0.4.4,1.log
 http://pointyhat.freebsd.org/errorlogs/i386-6-latest-logs/x264-0.0.20070913.log
 
 Did you tweak PTHREAD_LIBS or anything else in make.conf or other  
 configuration file(s)?
 
 Cheers,
 Mezz
 
 > I have gpac-libgpac-0.4.4,1
 >
 > Bye
 
 
 -- 
 mezz7@cox.net  -  mezz@FreeBSD.org
 FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
 http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
 http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org
_______________________________________________
freebsd-multimedia@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic