Skip to content

Works, but getting odd printers.py errors printed before the main enters — due to my local setup? Or known issue? #406

Answered by GitMensch
metaleap asked this question in Q&A
Discussion options

You must be logged in to vote

This seems "local setup specific". The warning is about the used python library (pretty printers are loaded with the python library GDB is linked against and found on the system) 3.6+ and installed pretty printers that are used by GDB but not match this.

I'd suggest to recheck if there are any outstanding system updates, then check with ldd $(which gdb) which python library is used - it should be the system one under /usr/lib. If this isn't the case then you can create a gdb.sh wrapper script which sets LD_LIBRARY_PATH or possibly even LD_PRELOAD to point to the right library, then executes gdb $*, then choose that wrapper as gdbpath for this extension - or otherwise ensure that the syste…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@metaleap
Comment options

Answer selected by metaleap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants