libtool
[Top][All Lists]
Advanced

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

Re: Problem with deplibs


From: Anssi Hannula
Subject: Re: Problem with deplibs
Date: Wed, 17 Nov 2010 00:45:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101030 Mandriva/3.1.6-1mdv2011.0 (2011.0) Thunderbird/3.1.6

On 09.11.2010 21:47, Bruno Barberi Gnecco wrote:
> Hi,
> 
>     I'm facing a problem compiling a library with libtool (via
> automake/autoconf). It depends on OpenCV, and deplibs links against all
> indirect libraries as well (that is, it adds the libs such as
> "/usr/lib64/libhighgui.so /usr/lib64/libgthread-2.0.so
> /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so").
> 
>     For some reason this breaks the application (don't ask me why, the
> cameras just stop working). All I need is to link only against the
> libraries I specify. I though "link_all_deplibs=no" in configure.in
> would achieve this, but it has no effect at all.
> 
>     Any tips? Thanks!

IIRC link_all_deplibs affects executables only, not libraries.

-- 
Anssi Hannula



reply via email to

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