Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202880 - dev-scheme/gambit-4.1.[12] fail to run
Summary: dev-scheme/gambit-4.1.[12] fail to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Scheme Project
URL: http://www.iro.umontreal.ca/~gambit/b...
Whiteboard:
Keywords: InOverlay
: 219857 (view as bug list)
Depends on:
Blocks: 219857
  Show dependency tree
 
Reported: 2007-12-20 17:58 UTC by Arthur Smyles
Modified: 2008-12-30 00:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
apply two patches to workaround the libraries search path problem (gambit-4.2.8.ebuild,2.96 KB, text/plain)
2008-09-14 15:42 UTC, Álvaro Castro Castilla
Details
this patch comes from Gambit's bugzilla (gambit-4.2.x-destdir.patch,11.42 KB, text/plain)
2008-09-14 15:43 UTC, Álvaro Castro Castilla
Details
This hack comes from http://bugs.gentoo.org/show_bug.cgi?id=219857 (makefile.patch,1.85 KB, text/plain)
2008-09-14 15:44 UTC, Álvaro Castro Castilla
Details
A version for 4.1.x ebuilds of the DESTDIR patch (gambit-4.1.x-destdir.patch,11.39 KB, patch)
2008-09-14 15:46 UTC, Álvaro Castro Castilla
Details | Diff
apply two patches to workaround the libraries search path problem (gambit-4.2.8.ebuild,2.96 KB, text/plain)
2008-09-14 15:51 UTC, Álvaro Castro Castilla
Details
patch for gambit-4.1.2.ebuild, to include the lines tha actually patch the source (gambit-4.1.2.ebuild.patch,426 bytes, text/plain)
2008-09-14 15:54 UTC, Álvaro Castro Castilla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Smyles 2007-12-20 17:58:10 UTC
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
Comment 1 Cameron Zemek 2008-02-02 16:27:46 UTC
Note that it installs libgambcgsi.so to /usr/lib/libgambcgsi.so . So the path in gsi is stuffed up in the build process.
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2008-03-03 09:37:46 UTC
at least for 4.2.3 it installs /usr/lib64/libgambcgsi.so, the problem is that it looks in D for it.
Comment 3 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2008-04-30 15:42:25 UTC
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.
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2008-04-30 22:14:28 UTC
http://www.iro.umontreal.ca/~gambit/bugzilla/show_bug.cgi?id=48 thanks to creidiki
Comment 5 Álvaro Castro Castilla 2008-09-14 15:42:23 UTC
Created attachment 165405 [details]
apply two patches to workaround the libraries search path problem
Comment 6 Álvaro Castro Castilla 2008-09-14 15:43:33 UTC
Created attachment 165406 [details]
this patch comes from Gambit's bugzilla
Comment 7 Álvaro Castro Castilla 2008-09-14 15:44:34 UTC
Created attachment 165407 [details]
This hack comes from http://bugs.gentoo.org/show_bug.cgi?id=219857
Comment 8 Álvaro Castro Castilla 2008-09-14 15:46:20 UTC
Created attachment 165409 [details, diff]
A version for 4.1.x ebuilds of the DESTDIR patch
Comment 9 Álvaro Castro Castilla 2008-09-14 15:51:53 UTC
Created attachment 165412 [details]
apply two patches to workaround the libraries search path problem
Comment 10 Álvaro Castro Castilla 2008-09-14 15:54:22 UTC
Created attachment 165414 [details]
patch for gambit-4.1.2.ebuild, to include the lines tha actually patch the source
Comment 11 Marijn Schouten (RETIRED) gentoo-dev 2008-12-12 13:43:55 UTC
*** Bug 219857 has been marked as a duplicate of this bug. ***
Comment 12 Marijn Schouten (RETIRED) gentoo-dev 2008-12-12 13:46:43 UTC
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.
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2008-12-30 00:01:12 UTC
Gambit-4.4.0 is now in main.