LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2009, 04:43 PM   #16
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224

Is glibmm in /usr/lib64?
Code:
usr/lib64/                                                                
usr/lib64/giomm-2.4/                                                             
usr/lib64/giomm-2.4/include/                                                     
usr/lib64/giomm-2.4/include/giommconfig.h                                        
usr/lib64/glibmm-2.4/     
usr/lib64/glibmm-2.4/include/                                                    
usr/lib64/glibmm-2.4/include/glibmmconfig.h
-----------
usr/lib64/libgiomm-2.4.la
usr/lib64/libgiomm-2.4.so.1.2.0
usr/lib64/libglibmm-2.4.la
usr/lib64/libglibmm-2.4.so.1.2.0
usr/lib64/libglibmm_generate_extra_defs-2.4.la
usr/lib64/libglibmm_generate_extra_defs-2.4.so.1.2.0
Double check the location of libx264

Code:
/usr/lib64/libx264.a
/usr/lib64/libx264.so
/usr/lib64/libx264.so.67
Do you have an ill-configured multi-lib setup? Looks like you might have mixed libs in /usr/lib and /usr/lib64.
 
Old 09-20-2009, 04:33 PM   #17
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by disturbed1 View Post
Is glibmm in /usr/lib64?
No, it was on /usr/lib

Now I added --libdir=/usr/lib64 option to configure in glibmm.Slackbuild,
but then I get this:

Code:
make[4]: Entering directory `/tmp/txz/glibmm-2.18.2/gio/giomm'
test -z "/usr/lib64" || /bin/mkdir -p "/tmp/txz/package/glibmm/usr/lib64"
 /bin/sh ../../libtool   --mode=install /bin/ginstall -c  'libgiomm-2.4.la' '/tmp/txz/package/glibmm/usr/lib64/libgiomm-2.4.la'
libtool: install: error: cannot install `libgiomm-2.4.la' to a directory not ending in /usr/lib
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/tmp/txz/glibmm-2.18.2/gio/giomm'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/tmp/txz/glibmm-2.18.2/gio/giomm'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/txz/glibmm-2.18.2/gio/giomm'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/txz/glibmm-2.18.2/gio'
make: *** [install-recursive] Error 1

Quote:
Double check the location of libx264
Here I have only

Code:
/usr/lib64/libx264.a
/usr/lib64/libx264.so.75*
Quote:
Do you have an ill-configured multi-lib setup? Looks like you might have mixed libs in /usr/lib and /usr/lib64.
I haven't installed multilib package.
It's an out-of-the-box slack64-13, and I'm trying to build/compile everything in 64 bit.
 
Old 09-20-2009, 05:36 PM   #18
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
ok, glibmm error solved now.

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
 
Old 09-20-2009, 06:16 PM   #19
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi erickFis,

Have you tried compiling current svn FFmpeg with current git x264?

Andrew
 
Old 09-20-2009, 06:32 PM   #20
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
Just tried ffmpeg from svn,
didn't worked either...
 
Old 09-20-2009, 06:37 PM   #21
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi erik,

Quote:
Originally Posted by erickFis View Post
Just tried ffmpeg from svn,
didn't worked either...
Sorry, I meant matching the current development versions of x264 and FFmpeg i.e. compiling the current x264 against the current FFmpeg.

Andrew
 
Old 09-20-2009, 08:01 PM   #22
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
Talking

Quote:
Originally Posted by andrew.46 View Post
Sorry, I meant matching the current development versions of x264 and FFmpeg i.e. compiling the current x264 against the current FFmpeg.
Andrew
HURRAY!

Thank you Andrew!

it's a simple idea, but trying the x264 svn against the ffpmeg svn actually worked! I should tried it before =D

Code:
erickfis@darkstar:~$ ffmpeg
FFmpeg version SVN-r19933, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-pthreads --enable-libtheora --enable-gpl --enable-postproc --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-libvorbis --enable-libnut --enable-libopenjpeg --enable-libdc1394 --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable-libspeex --enable-libdirac --enable-libschroedinger --enable-nonfree
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.35. 0 / 52.35. 0
  libavformat   52.38. 0 / 52.38. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Sep 20 2009 21:43:02, gcc: 4.3.3
At least one output file must be specified
Going to next step: build transcode!

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.

Thank you all!
 
Old 09-20-2009, 10:10 PM   #23
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi erick,

Quote:
Originally Posted by erickFis View Post
it's a simple idea, but trying the x264 svn against the ffpmeg svn actually worked! I should tried it before =D
Great news . I claim 10 geek points for correctly seeing the problem!

Andrew
 
Old 09-21-2009, 06:32 AM   #24
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Original Poster
Rep: Reputation: 32
huhahahahah!

you deserve it!
thank you again =D
 
Old 11-14-2009, 08:12 PM   #25
nguyenthanhvuh
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
LFS6.3 livecd "ls : command not found" error after "su - lfs" rotu Linux From Scratch 2 06-19-2008 03:59 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Mandrake 10.1/GeForce 4600... xorg error "no screens found" SAFX Mandriva 8 10-18-2004 01:02 PM
Getting erro - Library files for "libkcm_k3bsetup2.la" not found in paths error. rsreeni Linux - Newbie 0 08-22-2004 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration