[vorbis-dev] compiling vorbis in cygwin
Lourens Veen
lourens at rainbowdesert.net
Wed Feb 18 11:31:47 PST 2004
On Wed 18 February 2004 15:31, Wintersteller, Roland wrote:
> Hi,
>
> On compiling vorbis in a cygwin shell using "./autogen.sh" I get
> the following error...
>
> configure:19396: checking for Ogg
> configure:19431: gcc -o conftest.exe -O20 -D__NO_MATH_INLINES
> -fsigned-char -DUSE_MEMORY_H conftest.c -lm -logg >&5
> /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/
>bin/ld: cannot find -logg
> collect2: ld returned 1 exit status
>
> The Ogg library "libogg" is properly installed - I can see it in
> the /usr/local/lib directory. It seems to me that the config
> script tries to link an "ogg" library. I do not understand that.
> To make shure not to use a version out of date, I have downloaded
> the nightly cvs snapshot from yesterday and tried again - no
> changes.
You need to run ldconfig after installing libraries to let the
linker recreate its index of what is where. It may be that
/usr/local/lib is not in its search path, on Linux systems this is
defined in /etc/ld.so.conf. I don't know about Cygwin, but it's
probably in the equivalent location.
HTH,
Lourens
--
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key
--- >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-dev-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-dev
mailing list