This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]