[CentOS]libVorbis kan OGG niet vinden

Pagina: 1
Acties:
  • 218 views sinds 30-01-2008
  • Reageer

  • Megamind
  • Registratie: Augustus 2002
  • Laatst online: 01-02 18:42
Sorry voor de beetje onduidelijke topic titel, maar ik wist eigenlijk niets beters te verzinnen.

Ik ben bezig met een installatie van ffmpeg + randlibraries op een CentOS 4.4 server, volgens deze howto guide (ik ben niet zo'n linux guru helaas).

Ik heb stappen 1 tm 7 goed doorlopen. libOGG heb ik ook gedaan, deze gaf geen problemen en als ik doe whereis ogg, dan geeft hij ogg: /usr/lib/ogg.pc. Dus die staat er op.

Nu kom ik bij stap 9, ik moet libVorbis ./configure doen, als ik dit doe krijg ik deze error
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
...............
checking for pthread_create in -lpthread... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking for ogg >= 1.0... Package ogg was not found in the pkg-config search path.
Perhaps you should add the directory containing `ogg.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ogg' found
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!


Hij kan de ogg.pc library niet vinden. Toen ben ik gaan zoeken, en kwam erachter dat deze geplaatst werd in: /usr/local/lib/pkgconfig/ogg.pc. Ik heb geprobeerd deze te kopieren, en heb nu dus ook /usr/local/lib/pkg-config/ogg.pc.

Maar het mag niet baten, hij kan ogg niet vinden. Hoe kan ik er voor zorgen dat hij ogg.pc op zijn pad vind?

De oplossing staat in princiepe er al in:
Perhaps you should add the directory containing `ogg.pc'
to the PKG_CONFIG_PATH environment variable

Ik heb gegoogled maar werd er niet echt veel wijzer uit hoe ik dit moest oplossen.

[ Voor 5% gewijzigd door Megamind op 05-06-2007 22:12 ]


  • MrBarBarian
  • Registratie: Oktober 2003
  • Laatst online: 07-03-2023
Ehm, volgens mij staat dit soort meuk in de centos-plus repos.. waarom gebruik je die niet?

Anyway.. je moet waarschijnlijk ogg compilen met /usr/lib als library-plek (ipv /usr/local/lib).. Dat kan je in je ./configure zetten.

iRacing Profiel