Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Is it possible to statically link python into gdb?
@ 2014-06-21  3:01 Terry Guo
  2014-06-23 13:49 ` Tim Sander
  0 siblings, 1 reply; 11+ messages in thread
From: Terry Guo @ 2014-06-21  3:01 UTC (permalink / raw)
  To: gdb

Hi there,

I am trying to build a gdb with python support which doesn't depend on
system python at all. I can manage to build python into static library
like libpython2.7.a, then I can see that this static library is linked
into gdb. With command ldd, there is no libpython dependence in final
gdb. So far all good. But when run this gdb on another machine, I ran
into below errors and gdb can't be initiated:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

I am working on Ubuntu x86 machines with gdb from master branch and
Python 2.7. Could some one please help me? Thanks in advance.

BR,
Terry


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-01 17:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-21  3:01 Is it possible to statically link python into gdb? Terry Guo
2014-06-23 13:49 ` Tim Sander
2014-06-23 15:48   ` Paul_Koning
2014-06-25  1:47     ` Terry Guo
2014-06-25  8:32       ` OT: " Tim Sander
2014-06-25  9:00         ` Terry Guo
2014-06-25 14:37       ` Joel Brobecker
2014-06-25 14:58         ` Hector Oron
2014-06-25 15:17           ` Joel Brobecker
2014-06-25 15:29             ` Hector Oron
2014-07-01 17:00               ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox