libtool not finding /usr/lib/ or what?

Marco Atzeri
Sat Jul 1 06:46:00 GMT 2017

On 01/07/2017 07:47, Mark Geisert wrote:
> Esteemed co-conspirators,
> I've been pulling my hair out trying to build a new cygutils package on
> 32-bit Cygwin.  The exact same source package builds fine on 64-bit but
> 32-bit fails with the following...
>   CC       src/ipc/semstat.o
>   CXX      src/cygdrop/src_cygdrop_cygdrop-cygdrop.o
>   CCLD     src/cygicons/
>   CCLD     src/banner/banner.exe
> libtool:   error: cannot find the library '/usr/lib/' or
> unhandled argument '/usr/lib/'

it is pulled by /usr/lib/


$ cd /usr/lib
$ mv libpopt.la_bk

and run again make in build

make[2]: Entering directory 
   CCLD     src/banner/banner.exe
   CCLD     src/clip/getclip.exe
   CCLD     src/clip/putclip.exe
   CCLD     src/cygstart/cygstart.exe
   CXXLD    src/lpr/lpr.exe
   CCLD     src/mkshortcut/mkshortcut.exe
   CCLD     src/readshortcut/readshortcut.exe
   CCLD     src/winln/winln.exe
   CCLD     src/conv/conv.exe
   CCLD     src/dump/dump.exe
   CCLD     src/ipc/semtool.exe
   CCLD     src/ipc/shmtool.exe
   CCLD     src/ipc/msgtool.exe
   CCLD     src/ipc/semstat.exe
   CXXLD    src/cygdrop/cygdrop.exe
make[2]: Leaving directory 
make[1]: Leaving directory 

More information about the Cygwin-apps mailing list