LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   libvorbis-1.2.0 refuses to compile - doesn't find ogg even though its there (http://www.linuxquestions.org/questions/linux-software-2/libvorbis-1-2-0-refuses-to-compile-doesnt-find-ogg-even-though-its-there-585770/)

brokenpromises 09-19-2007 06:30 AM

libvorbis-1.2.0 refuses to compile - doesn't find ogg even though its there
 
Hello,

I'm just trying to install a bunch of codec / converstion tools, going from the guide here - http://vexxhost.com/blog/category/ffmpeg/

Everything was coming along dandy, till I went to install libvorbis - I typed ./configure, a bunch of stuff started flying past, and then a little while later it died with this error:

Code:

checking for Ogg... no
*** Could not run Ogg test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding Ogg or finding the wrong
*** version of Ogg. If it is not finding Ogg, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: must have Ogg installed!

Ogg not found - howcome? I just compiled and installed Ogg just then before trying Vorbis.

I obtained the install files for libvorbis and libogg from here: http://xiph.org/downloads/

**** EDIT: PROBLEM FIXED *****

Typed this at the command:

Code:

$ echo /usr/local/lib >> /etc/ld.so.conf; ldconfig
and it compiled fine.

weibullguy 09-19-2007 06:37 AM

And did you do follow the advice of the libvorbis configure script?
Code:

*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding Ogg or finding the wrong
*** version of Ogg. If it is not finding Ogg, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH

What was the result of performing these steps?

jetsons 01-04-2011 11:55 AM

Hi all I am having the same problem as above and trying the same solution. I am on a shared server. Can anyone tell me the path to find "ldconfig" I cannot find it anywhere. I am in the ssh and able to see the root directories. Also can you give a command line to run ldconfig if need be.

Thanks and I know that this is an old thread but the problem still exhisits.


All times are GMT -5. The time now is 03:31 AM.