This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem Debugging wxWidgets Applications (more)


On Tue, Apr 24, 2007 at 06:33:33PM -0700, Kip Warner wrote:
> On Tue, 2007-24-04 at 21:27 -0400, Daniel Jacobowitz wrote:
> > On Tue, Apr 24, 2007 at 05:03:17PM -0700, Keith Seitz wrote:
> > > Error while mapping shared library sections:
> > > /usr/lib/libwx_gtk2u_media-2.8.so.0: No such file or directory.
> > 
> > Looks to me like something in this build of Insight is setting the
> > shared library search prefix.  I've had lots of bugs of people failing
> > to set it, but this may be the first time I've seen it set
> > unnecessarily... does "show solib-absolute-prefix" show anything
> > enlightening?
> 
> (gdb) show solib-absolute-prefix
> Prefix for loading absolute shared library symbol files is "/usr/share".
> 
> Any help?

When you (or whoever else) built that Insight, they must have passed
--with-sysroot=/usr/share.  I can't guess why, but it's wrong.  Try
again without that, or manually "set solib-absolute-prefix /."
(there's no way to set it to an empty string but that's close enough).

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]