Shared libraries under linux
Martin Nowak
dawg at dawgfoto.de
Tue Apr 17 05:28:39 PDT 2012
On Tue, 17 Apr 2012 02:41:45 +0200, alexhairyman <alexhairyman at gmail.com>
wrote:
> Just a tip for everybody, but Under Linux, you can do a lot with the
> Linker commands you know those -L ones, besides being able to link with
> shared, you can also specify where the ELF binary will look to find your
> D shared library, by using -L-r which embeds a search path in your ELF
> binary, handy for updateable libraries, or a plugin system. I have a
> complete example somewhere on my laptop if anyone is interested. This is
> a native feature of ld so it should work almost anywhere.
>
http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
More information about the Digitalmars-d
mailing list