From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 Galeon/1.3.14 Description of problem: After upgrading to Fedora Core 2 Test 2's gnucash and dependents, running gnucash fails with ERROR: Could not find slib/require.scm in ("/usr/share/guile" "/usr/share/gnucash/guile-modules" "/usr/share/gnucash/scm" "" "/usr/share/guile/site" "/usr/share/guile/1.6" "/usr/share/guile" ".") Version-Release number of selected component (if applicable): gnucash-1.8.8-5 How reproducible: Always Steps to Reproduce: 1. run gnucash Additional info: The packages that I have installed for 1.8.8-5 are gnucash-1.8.8-5.i386.rpm guile-1.6.4-9.2.1.i386.rpm g-wrap-1.3.4-5.1.i386.rpm umb-scheme-3.2-32.i386.rpm
Works for me. What does 'rpm -V' of the various packages say?
rpm -V guile umb-scheme g-wrap gnucash is clean, no errors. Google finds a couple of hits related to Guile, Scheme and slib. But nothing is really fitting. What other packages should I check? BTW, the slib/require.scm is in /usr/share/umb-scheme/slib/require.scm here. If I cd /usr/share/umb-scheme (as the error message says it also looks in "."), the error message changes to $ cd /usr/share/umb-scheme/ $ pwd /usr/share/umb-scheme $ gnucash ERROR: In procedure substring: ERROR: Argument 3 out of range: -1 The file is $ ls -la /data/usr_share/umb-scheme/slib/require.scm -rw-r--r-- 1 root root 11469 Nov 27 2002 /data/usr_share/umb-scheme/slib/require.scm -- how about yours?
Can you attach the strace of running gnucash?
Created attachment 98971 [details] Strace when running gnucash from random directory The first attachment is when the ERROR: Could not find slib/require.scm in ("/usr/share/guile" "/usr/share/gnucash/guile-modules" "/usr/share/gnucash/scm" "" "/usr/share/guile/site" "/usr/share/guile/1.6" "/usr/share/guile" ".") error shows.
Created attachment 98972 [details] Strace running gnucash from /usr/share/umb-scheme The second shows gnucash running from /usr/share/umb-scheme directory, where the slib/require.scm resides.
You don't have a /usr/share/guile/slib/require.scm?
More exactly: lrwxrwxrwx 1 root root 27 Mar 4 09:49 /usr/share/guile/slib -> ../../share/umb-scheme/slib lrwxrwxrwx 1 root root 30 Mar 4 09:49 /usr/share/guile/slibcat -> ../../share/umb-scheme/slibcat Do these not resolve in your layout?
That did the trick. The links were there but since my /usr/share is on a different filesystem, they did not resolve to the proper target. Changing them to absolute links makes gnucash behave well. Thank you for your prompt help.
No problem. Closing as I believe this is working as expected.