Find the answer to your Linux question:
Results 1 to 4 of 4
Hello I'm trying to install libogg and libvorbis, I successfully downloaded and compiled libogg but when I try to ./configure libvorbis I get an error saying: *** Could not run ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    23

    Compiled libogg but libvorbis can't find libogg during ./configure

    Hello

    I'm trying to install libogg and libvorbis, I successfully downloaded and compiled libogg but when I try to ./configure libvorbis I get an error saying:

    *** 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!
    What should I do to fix it?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Those packages are usually shipped by deault in most distros or are available in their software repositories. On Debian all you need to do is
    Code:
    #aptitude update
    #aptitude install libogg libvorbis
    If you still want to compile from source, try doing
    Code:
    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
    After that run ./configure again for libvorbis.

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1
    I've run in the exact same problem and it was libogg/pkg-config fault's : when you make && make install libogg, a file named "ogg-uninstalled.pc" is produced and then installed.
    Then pkg-config seems to use this --uninstalled.pc file instead of ogg.pc. Delete ogg-uninstalled.pc from your computer. It is probably located in /usr/local/share/pkgconfig or /usr/local/lib/pkgconfig but other paths are possible.

    HTH

  4. #4
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1
    I stumbled upon this problem too and I did what you guys said. I deleted the ogg-installed.pc and did the #aptitude update, #aptitude install libogg libvorbis on the server. Yet it still cant find Ogg.

    What could be the problem? Please somebody help us cause I really need to work this out.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •