SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The problem was that I was using a slackbuild I got from slacky.it.
After trying the official slackbuild, from slackbuilds.org, glibmm compiled fine, as well cairomm and pangomm.
I've done the same to x264, and it compiled fine too.
I've just tried ffmpeg.Slackbuild again, to make sure I was using the appropriate slackbuilds.org version, but it still cannot find libx264
Code:
ERROR: libx264 not found
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
Here is config.err relevant part:
Code:
gcc -o /tmp/ffmpeg-conf-6707-23221-29422 /tmp/ffmpeg-conf-23705-23221-29766.o -lz -lbz2 -pthread -lm -lamrnb -lm -lamrwb -lm -ldirac_decoder -ldirac_encoder -lfaac -lfaad -lmp3lame -lm -lopenjpeg -lschroedinger-1.0 -lpthread -loil-0.3 -lm -lrt -lspeex -ltheora -logg
check_lib x264.h x264_encoder_open -lx264 -lm
check_header x264.h
check_cpp
BEGIN /tmp/ffmpeg-conf-3931-23221-5876.c
1 #include <x264.h>
2 int x;
END /tmp/ffmpeg-conf-3931-23221-5876.c
gcc -I/usr/include/openjpeg -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/dirac -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -E -o /tmp/ffmpeg-conf-23705-23221-29766.o /tmp/ffmpeg-conf-3931-23221-5876.c
In file included from /tmp/ffmpeg-conf-3931-23221-5876.c:1:
/usr/include/x264.h:32:4: warning: #warning You must include stdint.h or inttypes.h before x264.h
check_func x264_encoder_open
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-3931-23221-5876.c
1 extern int x264_encoder_open();
2 int main(void){ x264_encoder_open(); }
END /tmp/ffmpeg-conf-3931-23221-5876.c
gcc -I/usr/include/openjpeg -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -fomit-frame-pointer -pthread -I/usr/include/dirac -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -c -o /tmp/ffmpeg-conf-23705-23221-29766.o /tmp/ffmpeg-conf-3931-23221-5876.c
gcc -o /tmp/ffmpeg-conf-6707-23221-29422 /tmp/ffmpeg-conf-23705-23221-29766.o -lz -lbz2 -pthread -lm -lamrnb -lm -lamrwb -lm -ldirac_decoder -ldirac_encoder -lfaac -lfaad -lmp3lame -lm -lopenjpeg -lschroedinger-1.0 -lpthread -loil-0.3 -lm -lrt -lspeex -ltheora -logg -lx264 -lm
/tmp/ffmpeg-conf-23705-23221-29766.o: In function `main':
ffmpeg-conf-3931-23221-5876.c:(.text+0xa): undefined reference to `x264_encoder_open'
collect2: ld returned 1 exit status
ERROR: libx264 not found
One advice to the ones that are going to try svn: using svn ffmpeg broke support for libgsm, avisynth and vdpau, so I have to disable them in order to build ffmpeg.
Thanks for this thread - I faced the exact problem ! Instead of using svn (and afraid more stuff will break) I revert back to x264_some_old_version and it works fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.