LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-22-2005, 06:00 PM   #16
michellembrodeur
LQ Newbie
 
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0

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
 
  


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
Redhat hates me! ultrablue Linux - Newbie 8 06-01-2005 06:33 PM
GRUB 00.93 Hates Me KungFuHamster Linux - Software 1 11-23-2003 03:30 AM
x hates me kr00sh1n80r Linux - General 11 01-13-2003 03:24 PM
X hates me John Galt Linux - General 8 12-20-2002 01:42 PM
X hates me tha_newbfather Linux - Newbie 4 02-24-2002 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02: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