Gdb [Re: GnomeCanvasPixbuf]

Strange, but while my App is working now, it cannot find the
shared libs when run under GDB,

 $ env | grep LD_LIB

 $ ldd ./canvastest | grep gdk => /usr/lib/ (0x400dd000) => /usr/lib/ (0x40241000) =>
  /usr/local/source/gnomecvs/install/lib/ (0x403e5000)

 $ gdb ./canvastest
 (gdb) run
 Starting program: /usr/home/guinan/projects/glock/./canvastest 
 /usr/home/guinan/projects/glock/./canvastest: error in loading shared
 libraries: cannot open shared object file: No such
 file or directory

 Program exited with code 0177.

Weird, huh?


On Thu, 16 Dec 1999, John R. Sheets wrote:

> On Dec 16, 1999, Joe Shaw <> wrote:
> > > I hacked in a GnomeCanvasPixbuf item, but it causes
> > > the app to crash on me (with or without _aa on the
> > > canvas).  The app runs fine without the GnomeCanvasPixbuf.
> > 
> > I had a similar problem when I started using it. Are you running
> > gdk_rgb_init() in your startup routines? After I asked Federico and found
> > out it was missing, putting it in made it work fine.
> An easy way to tell whether it's a missing gdk_rgb_init() or a botched
> canvas item parameter type is to look at the backtrace where it crashes.
> If it's in GDK code, it's probably the former, and if it's in the canvas
> item, it's probably the latter.  Kind of obvious, but it bears
> mentioning.
> John
> -- 
> To unsubscribe: mail with "unsubscribe"
> as the Subject.

Jamie Guinan                         Blue Button Solutions, Inc.        

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