|
From: | Jeremiah Benham |
Subject: | Re: [Denemo-devel] Static Linking (was Re: tablature status (August 2012)) |
Date: | Thu, 23 Aug 2012 21:55:26 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 |
On 08/22/2012 12:24 PM, Richard Shann wrote:
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:it a directory called denemo-0.9.6 that contains a /lib and /share or > /usr/lib /usr/share and a README and Denemo.sh 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.
export LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./bin/denemoThen 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/libc.so.6: version `GLIBC_2.15' not found (required by lib/libxml2.so.2) ./bin/denemo: /lib/tls/i686/cmov/libm.so.6: version `GLIBC_2.15' not found (required by lib/libvorbis.so.0) ./bin/denemo: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by lib/libX11.so.6) ./bin/denemo: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by lib/libutouch-geis.so.1) ./bin/denemo: /lib/tls/i686/cmov/libm.so.6: version `GLIBC_2.15' not found (required by lib/libpulse.so.0)
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
[Prev in Thread] | Current Thread | [Next in Thread] |