View Full Version : [SOLVED] x264-git and GPAC error
skottish
18th May 2008, 02:23
I'm currently having problems with compiling x264 from git with support for GPAC on 64 bit Linux. It makes no difference if I'm using GPAC 0.4.4 or CVS. The error is simply this:
/usr/bin/ld: cannot find -lgpac_static
The only relevant search I came up with has this solution:
http://mailman.videolan.org/pipermail/x264-devel/2006-July/001917.html
This doesn't work because gpac_static.a doesn't exist here. The only thing I could think of was to try get GPAC to create a static library, and that changed nothing. Is anyone here able to get this working lately? I'd really like to get mp4 functionality back in x264.
Henrikx
18th May 2008, 08:41
@skottish
How are your instructions?
Here: for Debian / Ubuntu.
wget http://internap.dl.sourceforge.net/sourceforge/gpac/gpac-0.4.4.tar.gz
wget http://internap.dl.sourceforge.net/sourceforge/gpac/gpac_extra_libs-0.4.4.tar.gz
tar -zxf gpac-0.4.4.tar.gz
tar -zxf gpac_extra_libs-0.4.4.tar.gz
cd gpac_extra_libs
cp -r * ../gpac/extra_lib
cd ../gpac
chmod +x configure
./configure
make lib
make apps
make install lib
make install
sudo cp bin/gcc/libgpac.so /usr/lib
WalterK
19th May 2008, 19:12
If you want gpac support for mp4 output you will have to compile gpac yourself with this addition after ./configure
instead of plain make install use make install-lib , this enables both shared and static libraries.
sudo make install-lib if its ubuntu etc
At least thats how i got mp4 output support within x264 when i compiled it myself.
skottish
20th May 2008, 01:00
Thanks for the help to both of you. I appreciate the time.
It turns out that there's something else going on here. Building a working copy of GPAC has been trivial in the past. In fact the default PKGBUILD file (Arch Linux) always had worked. This is true for both GPAC 0.4.4 and CVS. I'm guessing right now that there was simply an upgrade in the tool chain somewhere that I missed. Arch won't force upgrade your configuration files; It's assumed (thankfully) that the user is capable of managing their own system.
--EDIT--
Thanks again for everyone's help. I'm able to compile just fine again. It turns out that for some strange reason all of the header files from glibc were missing on my system! After reinstalling glibc, I was able to implement the solution.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.