./libtool: line 5989: cd: lib/x86_64-linux-gnu: No such file or directory

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Oct 16 10:01:30 EDT 2012


On Tue, Oct 16, 2012 at 3:32 PM, Benjamin Gilbert <bgilbert at cs.cmu.edu> wrote:
> On 10/16/2012 03:11 AM, Mathieu Malaterre wrote:
>> On Mon, Oct 15, 2012 at 7:31 PM, Benjamin Gilbert <bgilbert at cs.cmu.edu> wrote:
>>> On 10/15/2012 09:17 AM, Mathieu Malaterre wrote:
>>>>     CCLD   src/libopenslide.la
>>>> ./libtool: line 5989: cd: lib/x86_64-linux-gnu: No such file or directory
>>>> libtool: link: cannot determine absolute directory name of
>>>> `lib/x86_64-linux-gnu'
>>>> make[1]: *** [src/libopenslide.la] Error 1
>
> Hi Mathieu,
>
> Starting in 3.3.1, we use pkg-config to detect OpenJPEG.  Your
> libopenjpeg1.pc appears to be broken:
>
>> OPENJPEG_CFLAGS='-Iinclude/openjpeg-1.5  '
>> OPENJPEG_LIBS='-Llib/x86_64-linux-gnu -lopenjpeg  '

What's wrong with:

$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/libopenjpeg1.pc
prefix=/usr
bindir=bin
datadir=share/openjpeg-1.5
libdir=lib/x86_64-linux-gnu
includedir=include/openjpeg-1.5

Name: openjpeg
Description: JPEG2000 files library
URL: http://www.openjpeg.org/
Version: 1.5.0
Libs: -L${libdir} -lopenjpeg
Cflags: -I${includedir}

Thanks,
-- 
Mathieu


More information about the openslide-users mailing list