Static RPM isn't Very Static
I downloaded and installed the 0.42.2 RPM (I tried both i386 and i686) and even though it installed okay with no dependency errors, the program won't run because of the following error:
[dallen@...1044... ~]$ inkscape inkscape: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory
I expect that a static build of an app to include everything needed to run that app, including necessary libraries, or is my understanding of "static" incorrect.
I have had the same problem on both Fedora Core 3 (FC3) and FC4, both of which are updated as of the date of this post.
I cannot find the library which contains the libgc.so.1 library file. Apparently it's not part of the Fedora distro.
Where can I find this library?
On Wed, 12 Oct 2005 23:06:14 -0700, DJA wrote:
I cannot find the library which contains the libgc.so.1 library file. Apparently it's not part of the Fedora distro.
Where can I find this library?
It's the Boehm GC, which you may have to install from the source. Alternatively, install the autopackage, that includes it statically (along with most other "tricky" dependencies).
thanks -mike
Mike Hearn wrote:
On Wed, 12 Oct 2005 23:06:14 -0700, DJA wrote:
I cannot find the library which contains the libgc.so.1 library file. Apparently it's not part of the Fedora distro.
Where can I find this library?
It's the Boehm GC, which you may have to install from the source. Alternatively, install the autopackage, that includes it statically (along with most other "tricky" dependencies).
thanks -mike
But he is right. That is one of the libs that should be linked statically in the "static" build.
Bob
On Thursday 13 October 2005 08:06, DJA wrote:
inkscape: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory
I just checked and indeed I made a mistake when setting up my static build environment. ldd gives this among the shared libraries dependencies for /usr/bin/inkscape:
libgc.so.1 => /home/jfl/build/static//lib/libgc.so.1
which obviously you're not likely to find at that location, even if you install libgc on your system :-(
I forgot to check the dependencies before uploading the RPMs. Sorry about that. I'll fix this hopefully this week-end and update new static RPMs. Thanks for reporting.
Jean-Francois Lemaire wrote:
On Thursday 13 October 2005 08:06, DJA wrote:
inkscape: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory
I just checked and indeed I made a mistake when setting up my static build environment. ldd gives this among the shared libraries dependencies for /usr/bin/inkscape:
libgc.so.1 => /home/jfl/build/static//lib/libgc.so.1
which obviously you're not likely to find at that location, even if you install libgc on your system :-(
I forgot to check the dependencies before uploading the RPMs. Sorry about that. I'll fix this hopefully this week-end and update new static RPMs. Thanks for reporting.
Yes. The devs who do the static builds need to build Boehm with ./configure --enable-static --disable-shared.
And before they upload, they should do ldd ./inkscape to check what the deps are.
bob
participants (4)
-
DJA
-
Jean-Francois Lemaire
-
Mike Hearn
-
rjamison