[vorbis-dev] Re: compiling vorbis in cygwin

Dimitry Andric dimitry at andric.com
Wed Feb 18 11:38:54 PST 2004

On 2004-02-18 at 15:31:46 Wintersteller, Roland wrote:

> 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

Try adding -L/usr/local/lib to your LDFLAGS, i.e.:

  LDFLAGS="-L/usr/local/lib" ./autogen.sh

Alternatively, you can instruct the ogg configure stage to put its
libs in /usr/lib instead of /usr/local/lib, which makes it easier for
other programs to find those library files.  However, this will
clobber up your Cygwin installation.

Btw, note that passing a "-lfoo" option to ld will make it look for a
file "libfoo.a".  You should *not* specify "-llibfoo".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/pgp-signature
Size: 184 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20040218/d1779116/part-0001.pgp

More information about the Vorbis-dev mailing list