On Thu, 20 Dec 2001, Goetz Waschk wrote:

> > > # Libraries that this one depends upon.
> > > dependency_libs=' -lm -L/lib -logg'
> >
> > Ouch so that's another problem where *.la files contain broken
> > info :-(.
> >
> > > But if I want to link with libvorbisfile it doesn't work because libvorbis.so
> > > is also required.
> >
> > What's the fix?
> I don't have one :-( That libvorbisfile.la was generated by libtool, and I
> don't know how libtool generates that dependency information, anyone?

libvorbisfile.la should contain dependency such as something like:

dependency_libs='-L/lib -lm /usr/lib/libogg.la'

And when programs are linked to libvorbisfile, libtool reads
libvorbisfile.la and all dependent .la files. But somehow the
whole dependency chain got messed up.

Abel


Reply via email to