GNOME Bugzilla – Bug 516302
Linking fails on amd64 platforms
Last modified: 2009-03-12 06:11:28 UTC
On my gentoo machine (amd64) linking against the shipped ffmpeg libs fails with the plain vanilla 2.4.0 download due to some shared library problems. The problem in depth is documented (and classified as generically upstream) here: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3 Setting CFLAGS to -fPIC for configure makes everything work again: $ CFLAGS="-fPIC" ./configure --prefix=${HOME}/local/ Still, IMHO, this should be fixed internally in GAP.
the configure.in script in the current svn trunk uses -fPIC automatically in case gcc compiler is used Code example: dnl Use -Wall if we have gcc. changequote(,)dnl if test "x$GCC" = "xyes"; then case " $CFLAGS " in *[\ \ ]-Wall[\ \ ]*) ;; *) CFLAGS="$CFLAGS -Wall" ;; esac case " $CFLAGS " in *[\ \ ]-fPIC[\ \ ]*) ;; *) CFLAGS="$CFLAGS -fPIC" ;; esac fi note that gimp-gap has been updated to newer ffmpeg version. therefore feedback about build problems or success on your amd64 machine may help to solve this bug. (are you using the gcc compiler ?)
Yes, using gcc (4.1.2), and yes, seems to be fixed in svn, at least for me. This bug could be closed as fixed now imo.
thank you for testing.