How to get the dang thing to work (Was: Linux: How to statically link against system libs?)

Steven Schveighoffer schveiguy at yahoo.com
Tue Apr 26 13:53:16 PDT 2011


On Tue, 26 Apr 2011 16:28:22 -0400, Nick Sabalausky <a at a.a> wrote:

> Ok, so I guess statically linking against the stuff isn't the way to go,  
> and
> apparently DLL hell is worse on linux. Sooo...What do I do?
>
> In the other thread, Spacen said: "The way to do this is to link against  
> the
> oldest libc you need to
> support, thus making the binaries forward compatible"
>
> I know my way around Linux as a user, but with deeper system stuff like  
> that
> I'm pretty much lost. I don't have a clue how to do what Spacen suggests  
> or
> how to determine what version of libc I need. Can anyone help me out with
> that?

It's been a while since I had to deal with old libs, but usually a linux  
distro will provide 'compatibility' versions of the standard libraries.

Look for packages using your package manager that end with compat

-Steve


More information about the Digitalmars-d-learn mailing list