[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Static Linking (was Re: tablature status (August 2012

From: Richard Shann
Subject: Re: [Denemo-devel] Static Linking (was Re: tablature status (August 2012))
Date: Fri, 24 Aug 2012 12:18:31 +0100

This looks like excellent progress.
I think you just need to include the relevant glibc library. What may
have you confused is there are two completely different libraries, glib
and glibc. The first is part of gtk, it gives us g_list_new() and such
like stuff. The second is part of gcc, it gives us printf and so on
(that is, it is the standard C library). I am guessing that the old
version of Ubuntu had an old (<2.15) version of glibc installed
system-wide, but this couldn't be used. So what you have created might
execute on some linux distros. Well, once the GUILE_LOAD_PATH is set...


On Thu, 2012-08-23 at 21:55 -0500, Jeremiah Benham wrote:
> On 08/22/2012 12:24 PM, Richard Shann wrote:
> >> it a directory called denemo-0.9.6 that contains a /lib and /share or
> >> >  /usr/lib /usr/share and a README and or something. Will this
> >> >  even work?
> > I am pretty confident it would. It pretty much what we do for windows
> > (and so, to promote software freedom we should do it for GNU/Linux
> > systems running on i86 machines). We have settings of environment
> > variables for windows done in main.c, and we could make this special
> > bundled build set LD_LIBRARY_PATHS to find the dynamic libraries,
> > GUILE_LOAD_PATH and something (I don't know what it is called) to find
> > the fonts. As this is GNU/Linux we are targetting it will be fairly easy
> > to sort that out.
> So I compiled denemo with --enable-binreloc-threads 
> --prefix=/home/jjbenham/denemo-0.9.6. It compiled, installed and ran 
> correctly. Then I rebooted into a very old version of Ubuntu using the 
> same /home. I created a script that looks like this:
> ./bin/denemo
> Then one by one I copied the needed libraries into a directory I created 
> called lib. Eventually I got to this error:
> ./bin/denemo: /lib/tls/i686/cmov/ version `GLIBC_2.15' not 
> found (required by lib/
> ./bin/denemo: /lib/tls/i686/cmov/ version `GLIBC_2.15' not 
> found (required by lib/
> ./bin/denemo: /lib/tls/i686/cmov/ version `GLIBC_2.15' not 
> found (required by lib/
> ./bin/denemo: /lib/tls/i686/cmov/ version `GLIBC_2.15' not 
> found (required by lib/
> ./bin/denemo: /lib/tls/i686/cmov/ version `GLIBC_2.15' not 
> found (required by lib/
> The size of theis denemo-0.9.6 with the binary, copied, libs, actions 
> files and everything is 54MB. This is about the same size as the windows 
> version. Not sure how to procede next.
> Jeremiah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]