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 Peter Rosin
Hi! On 2014-09-05 13:28, raz...@eml.cc wrote: 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

Re: libtool: lib: command not found

2014-09-05 Thread raziel
*sorry* with a more generic case: http://stackoverflow.com/questions/25687097/mingw-w64-libtool-lib-command-not-found (attacched also this test config.log and the sources I'm using) On Fri, Sep 05, 2014 at 04:21:33PM +0200, Peter Rosin wrote: Hi! On 2014-09-05 13:28, raz...@eml.cc wrote: I'm

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 Peter Rosin
On 2014-09-05 17:19, raz...@eml.cc wrote: 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

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