[Pkg-lyx-devel] Linking with gold

Per Olofsson pelle at dsv.su.se
Thu Dec 10 23:19:51 UTC 2009


Hi,

Jean-Marc Lasgouttes skrev:
> Abdelrazak Younes <younes at lyx.org> writes:
>> Because QtGui is a dynamic library it handles its dependency alone.
>> What you say would be try if we did static linking.
> 
> It seems to me that, in the old days, dynamic libraries requires extra -lFoo
> too.

I think it depends on which OS you're running also. ld.so in Linux at 
least handles dependencies.

In Debian, it is important to not depend directly on libraries which are 
used only indirectly. Otherwise there can be problems during version 
transitions and such. That's why pkg-config (at least in Debian) doesn't 
give any indirect dependencies for shared libraries.

-- 
Pelle



More information about the Pkg-lyx-devel mailing list