[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing DLLs on Cygwin
From: |
Peter Rosin |
Subject: |
Re: Installing DLLs on Cygwin |
Date: |
Sun, 28 Sep 2014 13:35:52 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 2014-09-28 10:17, Marco Atzeri wrote:
> 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 libguile-ncurses.la /usr/lib
>>
>> libtool: install: install -c .libs/libguile-ncurses.dll.a
>> /usr/lib/libguile-ncurses.dll.a
>> libtool: install: base_file=`basename libguile-ncurses.la`
>> libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libguile-ncurses.la'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
>> /usr/lib/./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
>> /usr/lib/libguile-ncurses.la
>> libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
>>
>>
>> The makefile for the code in question can be found here
>> http://git.savannah.gnu.org/cgit/guile-ncurses.git/tree/ncurses/Makefile.am
>>
>> Any ideas?
>
> autoreconf -ifv
> before conf and make
>
> just to be sure the cygwin libtool is used
While a good recommendation in general, it will not help with this issue. There
are no patches in the Cygwin Libtool package that are relevant to the observed
behaviour.
Cheers,
Peter