bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Compile & crash on Solaris


From: Jim Segrave
Subject: Re: [Bug-gnubg] Compile & crash on Solaris
Date: Fri, 3 Jan 2003 11:21:39 +0100
User-agent: Mutt/1.4i

On Fri 03 Jan 2003 (10:01 +0000), Joern Thyssen wrote:
> On Fri, Jan 03, 2003 at 10:43:07AM +0100, Jim Segrave wrote
> > On Fri 03 Jan 2003 (07:59 +0000), Joern Thyssen wrote:
> > > 
> > > It looks like an error message from the runtime dynamic library
> > > resolver.
> > > 
> > > Does Solaris actually link the gnubg executable without having resolved
> > > all external references?
> > > 
> > > Holger, did you compile it on the same machine as you're running it
> > > from?
> > 
> > Since Holger is not root on this machine, and can't (I assume) install
> > libraries in /usr/local/lib (or /opt/local/lib or wherever), there is
> > a possibility that it's built to use a libxml of Holger's but at run
> > time is using a system libxml which is older or less complete.
> > 
> > ldd of gnubg may point to where it's going for libxml. You might need
> > to set LDPATH or run ldconfig if my speculation above is correct.
> 
> Is it possible to run ldconfig as non-root? 
> 
> On linux it's LD_LIBRARY_PATH.
> 
> An alternative solution is to link libxml2 static cy changing -lxml2 to
> /path/to/the/correct/libxml.a in the Makefile. There might be the same
> problem with other libraries installed locally, e.g., libpng, which
> could explain the error Holger reported regarding pnmto-something while
> running make. Holger, you may have to set LDPATH/LD_LIBRARY_PATH before
> running make to avoid the make-errors.
> 
> After succesful installation you can make a shell script wrapper for
> gnubg:
> 
> $ mv gnubg gnubg.x
> $ cat > gnubg
> #/bin/sh
> export LD_LIBRARY_PATH=/path/to/the/correct/lib/directory
> gnubg.x
> ^D
> $ chmod +x gnubg

I just hope Holger remembers this is a guess at a possible cause of
the problem. It may be totally unrelated (hence my suggestion of an
ldd to see what gnubg will actually use for libs).

-- 
Jim Segrave           address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]