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

Re: error making static version of svn

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-03-05 15:30:33 CET

mailing.lists@gmx.net writes:

> as far as i can see is there no static linked version build.
>
> i run ./configure --enable-all-static
>
> then make and this warning came up.
>
> when i now try to run the svn binary from <svn>/subversion/cmdline/
>
> on another maschine i get:
>
> ./svn: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./svn)
>
> i this now a problem, because there is no static version of svn or is this
> an error because the lib
> is needed even when it is a static?

It looks like your binary is still using a shared libc, and that the
machines have different libcs installed. If you run

$ ldd /path/to/binary

you will see a list of all the shared libraries used by the binary.
To create a completely static binary you need to make sure that static
versions of all those libraries are available when you link it.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 5 15:31:16 2003

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

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