Quote:
Originally posted by __J
the problem you are having is the linker is not finding the libvorbis* libs ( there is more than one).
for example, in your error above, this line:
Code:
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x19): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_info_init'
is telling you that the linker cannot find a fuction named 'vorbis_info_init' in the libraries in it's search path.
using objdump, we can see if our libvorbis libraries contain this function:
Code:
$ objdump -R libvorbisfile.so | grep vorbis_info
0000737c R_386_JUMP_SLOT vorbis_info_clear
00007390 R_386_JUMP_SLOT vorbis_info_blocksize
000073f8 R_386_JUMP_SLOT vorbis_info_init
as you can see above, the function vorbis_info_init resides in the library libvorbisfile.so ( which is a symlink back to the real libvorbisfile.so.xxxxx).
make sure you either have the directory where the vorbis libs are installed entered into /etc/ld.so.conf and have run ldconfig or set LD_LIBRARY_PATH to point to the directory where the vorbis libs are. note that the LD_LIBRARY_PATH method requires you to do this both at compile time and at runtime. the preferable method if you are not trying to force the system to ignore things or temporarily replace things is the ldconfig method.
|
I have the same problem. But FFMpeg installed completely with --enable-vorbis and everything else I wanted.
but in the file /etc/ld/so/conf there was just one line
/usr/X11R6/lib
I added these two lines
/usr/lib
/usr/local/lib
and ran ldconfig
still get the same error.
anything else I should be looking at?
just so lost.
thanks for helping out everyone.
Michelle