You are not logged in.
Pages: 1
Trying to build ffmpeg to enable aac support, gives me this error after modifying the abs PKGBUILD:
ERROR: libpulse-simple not found
Searching in the configure.log I see this:
BEGIN /tmp/ffconf.muZ9nNmZ.c
1 #include <pulse/simple.h>
2 long check_pa_simple_new(void) { return (long) pa_simple_new; }
3 int main(void) { return 0; }
END /tmp/ffconf.muZ9nNmZ.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -std=c99 -fomit-frame-pointer -fPIC -pthread -D_REENTRANT -c -o /tmp/ffconf.NPn4LGjZ.o /tmp/ffconf.muZ9nNmZ.c
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -Wl,--as-needed -D_REENTRANT -o /tmp/ffconf.U05jemlx /tmp/ffconf.NPn4LGjZ.o -lpulse-simple -lpulse -lopenjpeg -lopencore-amrwb -lopencore-amrnb -lmp3lame -lgsm -lm -pthread -lbz2 -lz
/usr/lib/libsndfile.so.1: undefined reference to `vorbis_version_string'
collect2: ld returned 1 exit status
ERROR: libpulse-simple not found
What could the problem be? All my packages are up to date with the arch repos.
EDIT: formatting
Last edited by Goffredo (2012-03-19 14:46:02)
Offline
Welcome to the Arch forums. Please remember to use code blocks where appropriate.
Could you please provide a diff to show the precise way you modified the PKGBUILD?
Offline
Hi and thanks for the quickest reply ever!
This is the plain diff.
27a28
> --enable-libvo-aacenc \
As you can see I only added aac support. (Actually copying the library from the windows build here (http://ffmpeg.zeranoe.com/builds/readme … readme.txt))
EDIT: grammar
Last edited by Goffredo (2012-03-19 00:04:53)
Offline
Okay, it worked for me. Looking closer at your error message, I see it's complaining about a missing libpulse-simple. On my system, I ran:
pacman -Qoq $(pacman -Qqs pulse | pacman -Qql | grep libpulse-simple) | uniq
and obtained:
libpulse
Therefore, I suggest you install libpulse first, even though it's not explicitly listed as a dependency.
If you can reproduce the problem when not trying to enable libvo-aacenc, this would imply the dependency list in the PKGBUILD is out of date, and a bug should be submitted.
Offline
Therefore, I suggest you install libpulse first, even though it's not explicitly listed as a dependency.
libpulse *is* a dependency of ffmpeg and it's listed in the PKGBUILD.
Offline
/dev/zero wrote:Therefore, I suggest you install libpulse first, even though it's not explicitly listed as a dependency.
libpulse *is* a dependency of ffmpeg and it's listed in the PKGBUILD.
So it is! Need more coffee, stat!
Goffredo, did you not get a warning about the missing dependency?
Offline
Goffredo, did you not get a warning about the missing dependency?
'makepkg -s' won't run
==> ERROR: Could not resolve all dependencies.
w/o all the deps and makedeps in place.
Offline
T
/usr/lib/libsndfile.so.1: undefined reference to `vorbis_version_string'
i still don't get it how you guys ended up to libpulse,
pacman -Qo /usr/lib/libsndfile.so.1
/usr/lib/libsndfile.so.1 is owned by libsndfile 1.0.25-2
Now recompile this package using abs and retry ffmpeg. If it works, report on our tracker to fix it.
Give what you have. To someone, it may be better than you dare to think.
Offline
Yes, as some of you noticed, libpulse is indeed already installed (otherwise I could not even launch the build as it is required as a dependency). I tried recompiling libsndfile and libvorbis yesterday, but libsndfile fails with the same error as far I can remember. I will try to recompile once I get in uni, and report any problems. Thanks for the help guys.
Offline
Yes, as some of you noticed, libpulse is indeed already installed (otherwise I could not even launch the build as it is required as a dependency). I tried recompiling libsndfile and libvorbis yesterday, but libsndfile fails with the same error as far I can remember. I will try to recompile once I get in uni, and report any problems. Thanks for the help guys.
you should report this issue with libsndfile in our tracker because is a legit bug.
Give what you have. To someone, it may be better than you dare to think.
Offline
I'm confused. The error reported had something to do with a missing libpulse-simple. I didn't get any errors when I compiled ffmpeg with libvo-aacenc enabled, and I have that file.
Doesn't this mean that there is no bug, instead there was a missing libpulse file?
Offline
Ok, compiling libsndfile from ABS gives me the same error:
Making all in examples
make[1]: Entering directory `/home/Goffredo/abs/libsndfile/src/libsndfile-1.0.25/examples'
CC make_sine.o
CCLD make_sine
../src/.libs/libsndfile.so: undefined reference to `vorbis_version_string'
collect2: ld returned 1 exit status
make[1]: *** [make_sine] Error 1
make[1]: Leaving directory `/home/Goffredo/abs/libsndfile/src/libsndfile-1.0.25/examples'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Should I report it on the bug tracker?
@/dev/zero: the error compiling ffmpeg was the one you say, but it isn't as simple to solve. As I said, I already have libpulse properly installed from the repos through pacman.
Offline
Reported on arch bug tracker. https://bugs.archlinux.org/task/29005
EDIT: Reported too soon it seems...I had some miscompiled libraries in usr/local/. Removing all of the contents of /usr/local solved the problem (and I don't even want to think how many more it has generated )
Thanks for the help guys, closing as solved.
Offline
Pages: 1