[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to build subversion to run and various Linux systems?

From: Nick Patavalis <npat_at_efault.net>
Date: 2004-08-11 22:41:15 CEST

On 2004-08-11, Olaf Hering <olh@suse.de> wrote:
> On Wed, Aug 11, Nick Patavalis wrote:
>>
>> If a binary is statically linked it requires *no* libraries. Any
>
> svn is a network app, it wants to resolve one or another hostname
> (or user) sooner or later. You will lose with a static app.

I have to admit that you are absolutely right. As Marc Haisenko
pointed out---in a private message---since glibc-2.1.x even binaries
that are supposed to be statically linked, *do* try to dynamically
load "libnss.so" (the NSS library, of the /etc/nsswitch.conf fame). In
order to build a "truly static" binary, that uses the services of
libnss, a complicated dance is required that involves building a
customly configured glibc. Even then, it seems to be questionable
whether the result will really work. So practically, for applications
that use NSS services, either the target system must have a compatible
"libnss.so", or you forget the possibility of statically linking.

Sorry if I caused too much confusion
/npat

P.S: I *have* to sign with this :)

-- 
... I've been continually disgusted by how _little_ people use
their brain, especially when it comes to glibc issues.
  -- Linus Torvalds, LKML, 1998/10/23 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 11 22:51:23 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.