Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5368 - gnucash won't start (file not found)
Summary: gnucash won't start (file not found)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-21 23:28 UTC by John Steele Scott
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
strace -o gnucash-strace gnucash (gnucash-strace,41.37 KB, text/plain)
2002-07-21 23:48 UTC, John Steele Scott
Details
output of "emerge g-wrap" (minus build output) (emerge-g-wrap,2.96 KB, text/plain)
2002-07-29 03:53 UTC, John Steele Scott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Steele Scott 2002-07-21 23:28:22 UTC
Gnucash 1.6.6 from portage does not run. The output is as follows:

---
toojays@hiro$ gnucash
ERROR: In procedure dynamic-link:
ERROR: file not found
---

Running under gdb gives no clues apart from "Program exited with code 02".

Is there anything else I can do?
Comment 1 John Steele Scott 2002-07-21 23:48:19 UTC
Created attachment 2452 [details]
strace -o gnucash-strace gnucash

I'm attaching the strace output. The problem appears at about line 677, which
makes me wonder if the problem lies with g-wrap.

The version of g-wrap in portage is 1.2.1, but
http://www.gnucash.org/pub/g-wrap/source/ lists a couple of 1.3.x versions
which have been there for several months (although these aren't in their
package directories, so perhaps g-wrap follows an odd/even devel/stable version
numbering scheme).
Comment 2 Spider (RETIRED) gentoo-dev 2002-07-28 19:54:24 UTC
try to re-emerge g-wrap

from the strace log it seems that you dont have the necessary files in
/usr/share/guile/g-wrapped/

Comparing my g-wrap install:

>>> Merging dev-libs/g-wrap-1.2.1-r2 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/g-wrap-config
--- /usr/lib/
>>> /usr/lib/libg-wrap-runtime-guile.la
>>> /usr/lib/libg-wrap-runtime-guile.so.2.0.0
>>> /usr/lib/libg-wrap-runtime-guile.a
--- /usr/share/
--- /usr/share/info/
>>> /usr/share/info/g-wrap.info.gz
>>> /usr/share/info/g-wrap.info-1.gz
>>> /usr/share/info/g-wrap.info-2.gz
--- /usr/share/guile/
>>> /usr/share/guile/g-wrapped/
>>> /usr/share/guile/g-wrapped/libgw-runtime.so.0.0.0
>>> /usr/share/guile/g-wrapped/gw-runtime-spec.scm
>>> /usr/share/guile/g-wrapped/libgw-runtime.a
>>> /usr/share/guile/g-wrapped/libgw-runtime.la
>>> /usr/share/guile/g-wrap/
>>> /usr/share/guile/g-wrap/guile-types.scm
>>> /usr/share/guile/g-wrap/sorting.scm
>>> /usr/share/guile/g-wrap/output-file.scm
>>> /usr/share/guile/g-wrap/g-translate.scm
>>> /usr/share/guile/g-wrap.scm
Comment 3 John Steele Scott 2002-07-29 03:53:28 UTC
Created attachment 2662 [details]
output of "emerge g-wrap" (minus build output)

Thanks for responding.

Re-emerging g-wrap doesn't fix it. I have attached the output of my emerge, you
can see it has the same files as yours, although the order of some of them is
different.
Comment 4 John Steele Scott 2002-07-29 04:39:28 UTC
I seem to be getting somewhere! I've recompiled some stuff (g-wrap, guile)
without optimisations, and it looks good now.

I'll see if I can figure out exactly which optimisation is breaking it and get
back to you (it's either -march=athlon or -O3).
Comment 5 John Steele Scott 2002-07-29 07:49:38 UTC
Okay . . . what I have is:

*  sys-libs/glibc
      Latest version Available: 2.2.5-r5
      Latest version Installed: 2.2.5-r5

*  sys-devel/gcc
      Latest version Available: 3.1-r7
      Latest version Installed: 3.1-r7

Usually I compile with CFLAGS="-march=athlon -O3 -pipe -Wl,-z,combreloc".

The problem is not with g-wrap but with guile (ebuild 1.4-r3).

Here are the CFLAGS I have tried for guile:
CFLAGS="-march=i386 -O": gnucash WORKED
CFLAGS="-march=athlon -O2 -pipe -Wl,-z,combreloc": gnucash FAILED
CFLAGS="-march=i686 -O2 -pipe -Wl,-z,combreloc": gnucash FAILED
CFLAGS="-march=i586 -O3 -pipe -Wl,-z,combreloc": gnucash FAILED
CFLAGS="-march=i386 -O2 -pipe -Wl,-z,combreloc": gnucash FAILED
CFLAGS="-march=i386 -O -pipe -Wl,-z,combreloc": gnucash FAILED
CFLAGS="-march=i386 -O -Wl,-z,combreloc": gnucash FAILED
CFLAGS="-march=i386 -O": gnucash WORKED
CFLAGS="-march=i386 -O -pipe": gnucash WORKED
CFLAGS="-march=i386 -O3": gnucash WORKED
CFLAGS="-march=athlon -O3 -pipe": gnucash WORKED
CFLAGS="-march=athlon -O3 -pipe -Wl,-z,combreloc": gnucash FAILED

So the problem comes when you turn on "combine relocations" in the linking of guile.
Comment 6 Spider (RETIRED) gentoo-dev 2002-08-27 12:19:13 UTC
well, we dont officially support or recommend combined relocations, so its not
really a good idea to filter out it from the ebuild.

I suggest you file this upstream (guile) and see from there.. closing this since
I can't see what I can actively do to fix it