libtool
[Top][All Lists]
Advanced

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

Re: libtool and /usr/local/lib


From: Jacob Meuser
Subject: Re: libtool and /usr/local/lib
Date: Mon, 27 Sep 2004 00:58:28 -0700
User-agent: Mutt/1.4.2i

On Mon, Sep 27, 2004 at 08:16:43AM +0100, Geoff wrote:

> /bin/sh ../../libtool --mode=link gcc  -g -O2   -o vips 
> vips.o -pthread ../../libsrc/libvips.la -L/usr/X11R6/lib
> -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -lMagick -ltiff
> -lfreetype -ljpeg -lpng -lexif -ldpstk -ldps -lXt -lXext
> -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm
> -L/usr/lib/pkgconfig -lpng -ltiff -lz -ljpeg    -lm -ldl
> mkdir .libs libtool: link: cannot find the library
> `/usr/lib/libxml2.la

> Any advice please?

probably some .la file is requesting /usr/lib/libxml2.la as a
dependency, my guess would be libMagick.la.  you can probably get
away with editing the problem file(s) to reflect the correct path
to libxml2.la.

to find the offending .la file(s), do something like the following:

$ for i in /usr/lib/lib*.la /usr/local/lib/lib*.la ; do \
> grep -l '/usr/lib/libxml2\.la' $i ; done

it's best though, when updating/reinstalling a package, to first
completely remove all dependent packages, then reinstall them.

-- 
<address@hidden>




reply via email to

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