You are not logged in.
Running gbd seems to be in conflict with what ldd says {gdb says} it needs for library versions. Not sure I've seen any similar problem before...thanks for any pointers.
user@computer ~ $ gdb
gdb: error while loading shared libraries: libboost_regex.so.1.72.0: cannot open shared object file: No such file or directory
user@computer ~ $ ldd /usr/bin/gdb|grep boost
libboost_regex.so.1.75.0 => /usr/lib/libboost_regex.so.1.75.0 (0x00007ffb7219d000)
user@computer ~ $
Last edited by USRapt0r (2022-01-21 15:45:23)
Offline
`LD_DEBUG=files gdb`
Edit, actually, check `type -a gdb` first.
Last edited by Scimmia (2021-04-01 12:34:02)
Offline
tpad% type -a gdb
gdb is /usr/bin/gdb
gdb is /usr/local/bin/gdb
gdb is /usr/bin/gdb
tpad%
It may do with my shell - xonsh, need to get rid of that crud. I can invoke gdb just fine under zsh/bash, I've found
Offline
I would assume xonsh is running the one in /usr/local. That's something you installed outside of pacman.
Last edited by Scimmia (2021-04-01 13:38:28)
Offline
Sorry for the late bump but ran into this again and actually found an un-owned/manually-built gdb binary lurking in my filesystem, only revealed by different PATH settings on different shells. Thank for the replies Fellow!
Offline