broken libguile.la file (libguile12-1.6.7-1)
Gerrit P. Haase
gerrit@familiehaase.de
Fri Jun 10 08:15:00 GMT 2005
Brian Dessent wrote:
> I was trying to build autogen when I got to this:
>
> /bin/bash ../libtool --tag=CC --mode=link ccache gcc
> -Wl,-no-undefined -o autogen.exe -export-dynamic autogen-ag.o
> .../autoopts/libopts.la -lguile -lguile-ltdl -lcrypt -lm -lm
> libtool: link: cannot find the library
> `/home/mingw/cygwin/root/usr/lib/libguile-ltdl.la'
>
> This apparently comes from the following in /usr/lib/libguile.la:
>
> # Libraries that this one depends upon.
> dependency_libs=' /home/mingw/cygwin/root/usr/lib/libguile-ltdl.la
> -lcrypt'
>
> After changing that to /usr/bin/libguile-ltdl.la, I got this:
>
> /bin/bash ../libtool --tag=CC --mode=link ccache gcc
> -Wl,-no-undefined -o autogen.exe -export-dynamic autogen-ag.o
> .../autoopts/libopts.la -lguile -lguile-ltdl -lcrypt -lm -lm
> ccache gcc -Wl,-no-undefined -o autogen.exe autogen-ag.o
> -Wl,--export-dynamic ../autoopts/.libs/libopts.a
> /usr/lib/cygguile.dll.a /usr/lib/libguile-ltdl.dll.a -lcrypt
> gcc: /usr/lib/cygguile.dll.a: No such file or directory
>
> So I changed the 'library_names' line to 'libguile.dll.a' instead of
> 'cygguile.dll.a', and the link worked. I'm really not totally fluent in
> libtool but it does seem to me that these are guile packaging problems
> and not the fault of autogen, no?
dependency_libs should refer to .la files which are usually installed
besides the import libraries in /usr/lib. Relative to this location
are the other defininitions:
Static archive:
old_library='libiconv.a'
Import library:
library_names='libiconv.dll.a'
Shared library in /usr/bin:
dlname='../bin/cygiconv-2.dll'
Gerrit
--
=^..^=
More information about the Cygwin-apps
mailing list