libtool: lib: command not found

2014-09-05 Thread raziel
Hello, I'm having some trouble cross building libraries from a Linux machine (Debian/unstable) using mingw-w64, seem libtool is looking for a lib command to generate a .lib library, but the command is missing and I can't find it in any package (on stackoverflow I've seen for the same problem on

Re: libtool: lib: command not found

2014-09-05 Thread raziel
Hi Peter, thank you attacched the zzip config.log. But the problem seem to be with any lib I try to cross build with mingw and libtool, I wasn't sure the mail was sent to the mailing list (usually I see immediatly the sent mail in mutt but not in this case) so I've done a sort of cross posting

Re: libtool: lib: command not found

2014-09-05 Thread raziel
On Fri, Sep 05, 2014 at 05:05:52PM +0200, Peter Rosin wrote: On 2014-09-05 16:52, raz...@eml.cc wrote: Hi Peter, thank you attacched the zzip config.log. Bleh, sorry, but could you also provide the output from ./libtool --config from your build directory? Attacched dpkg -L

Re: libtool: lib: command not found

2014-09-05 Thread raziel
Thank you! Peter your comments pointed me in the right direction, CXX and LD in the env seem to be not needed --host is enough, LT_INIT need [win32-dll] and libexample_la_LDFLAGS need -no-undefined. Got static and shared dll built. Cheers Alex Ok, this is strange. You have this in your