[vorbis] Problem compiling ogg on OpenBSD-2.7
Geoff Shang
gshang at uq.net.au
Sun Mar 11 14:34:38 PST 2001
On Sun, 11 Mar 2001, Rakhesh Sasidharan wrote:
> When compiling "libvorbis-1.0beta4", I get the following:
>
> checking for Ogg... no
> *** Could not run Ogg test program, checking why...
> *** The test program failed to compile or link. See the file config.log for the
> *** exact error that occured. This usually means Ogg was incorrectly installed
> *** or that you have moved Ogg since it was installed. In the latter case, you
> *** may want to edit the ogg-config script:
> configure: error: must have Ogg installed!
I got this. LD is not seeing libogg. The root cause of this for me was
that ld was not configured to find libraries in /usr/local/lib. I fixed
this by adding a line saying
/usr/local/lib
to /etc/ld.so.conf (this is where to do it in debian anyway). You can also
add /usr/local/lib to the LD_LIBRARY_PATH environment variable or use
--with-oggprefix as mentioned earlier, but changing the ld configuration
will fix it permanently.
As for which order to install these in, vorbis needs ogg, and vorbis-tools
needs ogg, vorbis and libao. Whether you compile vorbis or libao first is
up to you.
Geoff.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list