[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: <mailing.lists_at_gmx.net>
Date: 2003-03-05 15:53:16 CET

hi

the output of ldd is:

$ ldd ./svn
./svn: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./svn)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40018000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4001f000)
        libm.so.6 => /lib/libm.so.6 (0x40044000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40067000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40094000)
        libdl.so.2 => /lib/libdl.so.2 (0x400a8000)
        libz.so.1 => /lib/libz.so.1 (0x400ab000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x400ba000)
        libc.so.6 => /lib/libc.so.6 (0x400d0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

this means is uses this shared lib.

but this points to the problem i posted @ start.

when i try to build a static version i get the error i posted.

what to do, that i get a static version?

greetz

achim

> 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
>

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
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:54:12 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.