FFMPEG and Libtheora Install Help

ScathDeSolas

Verified User
Joined
Feb 10, 2011
Messages
52
My issue with Libtheora
Code:
Making install in examples
make[1]: Entering directory `/root/libtheora-1.1.1/examples'
/bin/sh ../libtool --mode=link gcc -I/usr/local/include   -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops    -o encoder_example  encoder_example-encoder_example.o  ../lib/libtheoraenc.la ../lib/libtheoradec.la -L/usr/local/lib -logg   -L/usr/local/lib -lvorbis -lm -logg   -lvorbisenc -lm
libtool: link: gcc -I/usr/local/include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -o .libs/encoder_example encoder_example-encoder_example.o  ../lib/.libs/libtheoraenc.so -L/usr/local/lib ../lib/.libs/libtheoradec.so -L/usr/lib /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so /usr/lib/libogg.so -lm
gcc: /usr/lib/libvorbisenc.so: No such file or directory
gcc: /usr/lib/libvorbis.so: No such file or directory
make[1]: *** [encoder_example] Error 1
make[1]: Leaving directory `/root/libtheora-1.1.1/examples'
make: *** [install-recursive] Error 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

Checked for the "missing files"
Code:
server:~/libtheora-1.1.1# locate libvorbisenc.so
/usr/lib/libvorbisenc.so
/usr/local/cpffmpeg/lib/libvorbisenc.so
/usr/local/cpffmpeg/lib/libvorbisenc.so.2
/usr/local/cpffmpeg/lib/libvorbisenc.so.2.0.3
/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbisenc.so
/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbisenc.so.2
/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbisenc.so.2.0.3
/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbisenc.so.2.0.3T
/usr/src/ffmpegscript/libvorbis-1.2.0/lib/.libs/libvorbisenc.so
/usr/src/ffmpegscript/libvorbis-1.2.0/lib/.libs/libvorbisenc.so.2
/usr/src/ffmpegscript/libvorbis-1.2.0/lib/.libs/libvorbisenc.so.2.0.3
/usr/src/ffmpegscript/libvorbis-1.2.0/lib/.libs/libvorbisenc.so.2.0.3T
server:~/libtheora-1.1.1# cp -s /usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbisenc.so /usr/lib/libvorbisenc.so
cp: cannot create symbolic link `/usr/lib/libvorbisenc.so' to `/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbisenc.so': File exists


server:~/libtheora-1.1.1# locate libvorbis.so
/usr/lib/libvorbis.so
/usr/local/cpffmpeg/lib/libvorbis.so
/usr/local/cpffmpeg/lib/libvorbis.so.0
/usr/local/cpffmpeg/lib/libvorbis.so.0.4.0
/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbis.so
/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbis.so.0
/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbis.so.0.4.0
/usr/src/ffmpegscript/libvorbis-1.2.0/lib/.libs/libvorbis.so
/usr/src/ffmpegscript/libvorbis-1.2.0/lib/.libs/libvorbis.so.0
/usr/src/ffmpegscript/libvorbis-1.2.0/lib/.libs/libvorbis.so.0.4.0
server:~/libtheora-1.1.1# cp -s /usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbis.so /usr/lib/libvoribs.so
cp: cannot create symbolic link `/usr/lib/libvoribs.so' to `/usr/local/src/libvorbis-1.2.0/lib/.libs/libvorbis.so': File exists
server:~/libtheora-1.1.1#

Here's my issue with FFMPEG
Code:
LD      ffmpeg_g
/root/ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_frame':
/root/ffmpeg/libavcodec/libx264.c:92: undefined reference to `x264_picture_init'
/root/ffmpeg/libavcodec/libx264.c:117: undefined reference to `x264_encoder_delayed_frames'
/root/ffmpeg/libavcodec/libavcodec.a(libx264.o): In function `X264_init':
/root/ffmpeg/libavcodec/libx264.c:305: undefined reference to `x264_encoder_open_115'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

Code:
server:~# /usr/bin/ffmpeg
/usr/bin/ffmpeg: error while loading shared libraries: libfaad.so.0: cannot open shared object file: No such file or directory
 
Last edited:
My guess is that if you haven't received a reply by now it's because no one here knows the answer. This really isn't a DirectAdmin problem so I've moved the thread to a more appropriate subforum; perhaps it'll get some response here.

Jeff
 
Problem is that you're missing prerequisites. You need vorbis headers and libs before you can build libtheora.
 
I'm not entirely sure what EXACTLY to search since I've searched the errors and came up with nothing helpful. Every problem is unique so this is what makes this so hard. I've tried doing multiple tutorials I want to start fresh and redo it.

I'm running Debian Lenny, latest update. Any ideas as to what script I can run and/or if there's a tutorial PROVEN to work? Also I need all dependencies and when I try to do ffmpeg commands like ./configure --enable-name < "name" = name of the dependency > it just says it's not there... so I'm so stuck right now.

I also don't understand why it says it can't find the files when they are in the "locate" function and show up in the proper folders, they're not missing at all but in the right place.


missing prerequisites = dependencies
 
Back
Top