Re: gdb/head build, --with-python=<path to working python> FAILs @ "no usable python found " ?
PGNet Dev via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3/25/20 3:55 PM, Christian Biesinger wrote: >> export LDFLAGS="-L/usr/local/pyenv/versions/3.8-dev/lib" >> (does this^ need to be rpath'd? need to poke around in here ...) > > If you can run python3.8, you probably already set things up correctly for that? i 1st stumbled on this^ issue trying to run distro-pkg'd gdb in my pyenv. it keeps insisting on hardcoded python pkg versions/paths that are the distro's default. annoying :-/ rpath with export LDFLAGS="-L/usr/local/pyenv/versions/3.8-dev/lib -Wl,-rpath,/usr/local/pyenv/versions/3.8-dev/lib" export LIBS="-lpython3.8" is a better-safe-than-sorry choice; and shouldn't hurt >> _does_ seem to get past the 'python unfound' problem, dropping me into the next issue ... which seems unrelated > > Yeah. Unfortunately I have no idea about that error, hopefully someone > else can comment. thx. i'll split off a new thread.