Hi all,
I'm having trouble compiling transcode on Debian. Note that I don't
have root access, so I'm installing things to my home folder. I've
compiled ffmpeg with --enable-shared --enable-pthreads and installed it.
When I run
$ ./configure --prefix="/home/youngian/transcodeinstall/"
--with-libavcodec-prefix="/home/youngian/ffmpeginstall/"
--with-libmpeg2-prefix="/home/youngian/mpeg2install/"
I get the complaint
ERROR: requirement failed: cannot link against libavcodec
libavcodec can be found in the following packages:
FFMpeg http://www.ffmpeg.org/
Looking in config.log, I found:
configure:27936: checking how to determine LIBAVCODEC_LIBS
configure:27955: result: prefix
configure:27985: checking for avcodec_thread_init in -lavcodec
configure:28015: gcc -o conftest -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FI
LE_OFFSET_BITS=64 -g -O2 -L/home/youngian/ffmpeginstall//lib
conftest.c -lavco
dec -lm -lz -lpthread -lm -lz -ldl >&5
/usr/bin/ld: warning: libavutil.so.49, needed by
/home/youngian/ffmpeginstall//l
ib/libavcodec.so, not found (try using -rpath or -rpath-link)
/home/youngian/ffmpeginstall//lib/libavcodec.so: undefined reference to
`av_crc0
4C11DB7'
<snip>
But libavutil.so.49 most assuredly is in the same directory as
libavcodec.so:
$ ls /home/youngian/ffmpeginstall/lib/
libavcodec.a libavformat.a libavutil.a pkgconfig
libavcodec.so libavformat.so libavutil.so vhook
libavcodec.so.51 libavformat.so.51 libavutil.so.49
libavcodec.so.51.29.0 libavformat.so.51.8.0 libavutil.so.49.2.0
$ file /home/youngian/ffmpeginstall/lib/libavutil.so.49
/home/youngian/ffmpeginstall/lib/libavutil.so.49: symbolic link to
`libavutil.so.49.2.0'
$ file /home/youngian/ffmpeginstall/lib/libavutil.so.49.2.0
/home/youngian/ffmpeginstall/lib/libavutil.so.49.2.0: ELF 32-bit LSB
shared object, Intel 80386, version 1 (SYSV), stripped
Not really sure what's going wrong here, ideas?