This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: 64bit: invalid ltdl library
- From: Peter Rosin <peda at lysator dot liu dot se>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 26 Apr 2013 00:16:28 +0200
- Subject: Re: 64bit: invalid ltdl library
- References: <51798D14 dot 9070509 at gmail dot com> <5179A1B4 dot 2040206 at lysator dot liu dot se>
On 2013-04-25 23:35, Peter Rosin wrote:
> On 2013-04-25 22:07, marco atzeri wrote:
>> any idea ?
>>
>> configure:21346: checking for lt_dladvise_preload in -lltdl
>> configure:21371: gcc -std=gnu99 -std=gnu99 -o conftest.exe -fopenmp -ggdb -O2 -pipe -fdebug-prefix-map=/pub/devel/imagemagick/ImageMagick-6.7.6.3-3/build=/usr/src/debug/ImageMagick-6.7.6.3-3 -fdebug-prefix-map=/pub/devel/imagemagick/ImageMagick-6.7.6.3-3/src/ImageMagick-6.7.6-3=/usr/src/debug/ImageMagick-6.7.6.3-3 -Wall conftest.c -lltdl >&5
>> configure:21371: $? = 0
>> configure:21380: result: yes
>> configure:21427: error: invalid ltdl library directory: `/usr/lib'
>>
>>
>> $ ls -l /usr/lib/*ltd*
>> -rw-r--r-- 1 marco None 199770 Mar 31 07:14 /usr/lib/libltdl.a
>> -rwxr-xr-x 1 marco None 41902 Mar 31 07:14 /usr/lib/libltdl.dll.a
>>
>> $ file /usr/lib/libltdl.dll.a
>> /usr/lib/libltdl.dll.a: current ar archive
>>
>> Regards
>> Marco
>
> My guess is that cygport has been a bit too aggressive w/o the libtool
> maintainer (or whoever build the 64-bit libtool package) noticing and
s/build/built/
> that /usr/lib/libltdl.la has been inadvertently stripped out of the
> libtool package.
You can probably workaround that by copying the libltdl.la file from a
32-bit install. They are probably exactly equal.
Cheers,
Peter