[Evolution] Re: .la files

Josselin Mouette joss at debian.org
Tue Jun 13 14:55:22 UTC 2006


Le lundi 12 juin 2006 à 18:37 +0200, Øystein Gisnås a écrit :
> The symptoms can be seen when building something that depends on
> evolution, for example evolution-exchange. Compile and linking succeed,
> but the binaries that linked
> against /usr/lib/evolution/2.6/libeutil.so.0.0.0
> and /usr/lib/evolution/2.6/libevolution-addressbook-a11y.so.0.0.0 cannot
> resolve those libraries, because RPATH is missing (can be seen with
> objdump -p evolution-exchange-storage).
> 
> I have two questions. First, is it OK that another package links against
> a library that is not in /usr/lib?

I don't think it's a good idea, no.

> Second, if the location of the libs
> is OK, how can I make libtool put RPATH into evolution-exchange-storage
> and other binaries linked against the two troublesome libraries? Is it a
> bug in libtool, or must one set a flag to force RPATH in Makefile.am or
> something?

Another option is to put the libraries in /usr/lib and to use libtool's
-release flag, so that they are called libeutil-2.6.so.0.0.0 and so on.
Then, it makes sense to put them in a separate library package (like
libevolution-2.6-0).
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette at ens-lyon.org
`. `'                        joss at debian.org
   `-  Debian GNU/Linux -- The power of freedom




More information about the Pkg-evolution-maintainers mailing list