This effects version 4.1.1 and 4.1.2 Basically when you try to load gsi it gives an error message: gsi: error while loading shared libraries: /var/tmp/portage/dev-scheme/gambit-4.1.2/image/usr/lib/libgambcgsi.so: cannot open shared object file: No such file or directory Reproducible: Always Steps to Reproduce: 1.start gsi 2. 3. Actual Results: gsi: error while loading shared libraries: /var/tmp/portage/dev-scheme/gambit-4.1.2/image/usr/lib/libgambcgsi.so: cannot open shared object file: No such file or directory Expected Results: showed the prompt
Note that it installs libgambcgsi.so to /usr/lib/libgambcgsi.so . So the path in gsi is stuffed up in the build process.
at least for 4.2.3 it installs /usr/lib64/libgambcgsi.so, the problem is that it looks in D for it.
I have a patch for this in bug #219857. Unfortunately it won't work with versions older than 4.2.6 so you may need to upgrade to that version. In short gambit links directly to libraries instead of passing libraries via -L and -l options.
http://www.iro.umontreal.ca/~gambit/bugzilla/show_bug.cgi?id=48 thanks to creidiki
Created attachment 165405 [details] apply two patches to workaround the libraries search path problem
Created attachment 165406 [details] this patch comes from Gambit's bugzilla
Created attachment 165407 [details] This hack comes from http://bugs.gentoo.org/show_bug.cgi?id=219857
Created attachment 165409 [details, diff] A version for 4.1.x ebuilds of the DESTDIR patch
Created attachment 165412 [details] apply two patches to workaround the libraries search path problem
Created attachment 165414 [details] patch for gambit-4.1.2.ebuild, to include the lines tha actually patch the source
*** Bug 219857 has been marked as a duplicate of this bug. ***
Hackish gambit-4.3.2 in our overlay. Upstream has recognized the problem and is interested in fixing it. Hopefully this will produce something less hackish soon.
Gambit-4.4.0 is now in main.