Shared library packaging issues

GreatEmerald via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 15 13:01:48 PST 2014


On Saturday, 15 November 2014 at 18:36:28 UTC, Jordi Sayol via 
Digitalmars-d wrote:
>
> Meanwhile there is not an RPM package for phobos 2 shared 
> library, I think you can spread it together with your library:
> "/usr/lib/i386-linux-gnu/libphobos2.so.0.66.1" (for 32-bit)
> "/usr/lib/x86_64-linux-gnu/libphobos2.so.0.66.1" (for 64-bit)


That wouldn't really work well if I also want to use LuaD as a 
shared library, as both packages would then conflict with each 
other over providing libphobos2. Probably better to just depend 
on DMD for a while.

Though it does make me wonder, how do GDC and LDC handle this 
issue? Do they also include libphobos2 as part of the compiler?


More information about the Digitalmars-d mailing list