broken libguile.la file (libguile12-1.6.7-1)

Brian Dessent brian@dessent.net
Fri Jun 10 00:16:00 GMT 2005


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?

Brian



More information about the Cygwin-apps mailing list