[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing DLLs on Cygwin

From: Marco Atzeri
Subject: Re: Installing DLLs on Cygwin
Date: Sun, 28 Sep 2014 10:17:29 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

On 28/09/2014 03:51, Mike Gran wrote:
Hello Libtool,

I was lead to believe that if I use libtool to install
a dll created on Cygwin using automake with a lib_LTLIBRARIES
rule, that libtool would install the dll in /usr/bin and the
linker and convenience libraries in /usr/lib.  but I can't
seem to get it to work.

For example the libtool invocation below copies the dll into
/usr/lib in the invocation below.  This is with libtool 2.4.2.

$ /usr/bin/libtool --mode=install install -c /usr/lib

libtool: install: install -c .libs/libguile-ncurses.dll.a 
libtool: install: base_file=`basename`
libtool: install:  dlpath=`/bin/sh 2>&1 -c '. .libs/''i; 
echo cygguile-ncurses-8.dll'`
libtool: install:  dldir=/usr/lib/`dirname cygguile-ncurses-8.dll`
libtool: install:  test -d /usr/lib/. || mkdir -p /usr/lib/.
libtool: install:  install -c .libs/cygguile-ncurses-8.dll 
libtool: install:  chmod a+x /usr/lib/./cygguile-ncurses-8.dll
libtool: install:  if test -n '' && test -n 'strip --strip-unneeded'; then eval 
'strip --strip-unneeded /usr/lib/./cygguile-ncurses-8.dll' || exit 0; fi
libtool: install: install -c .libs/libguile-ncurses.lai 
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'

The makefile for the code in question can be found here

Any ideas?

autoreconf -ifv
before conf and make

just to be sure the cygwin libtool is used

-Mike Gran

reply via email to

[Prev in Thread] Current Thread [Next in Thread]