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 ...
- 02-23-2008 #1Just 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:
What should I do to fix it?*** 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!
- 02-23-2008 #2
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
If you still want to compile from source, try doingCode:#aptitude update #aptitude install libogg libvorbis
After that run ./configure again for libvorbis.Code:export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
- 03-03-2008 #3Just 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
- 03-05-2008 #4Just 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.


Reply With Quote
