GDB: How to add shared libraries?

0

I'm using gdb to test my code, however I'm having the following problem when giving run:

Starting program: /home/silas/PIBIC/code/gameoflife 
/home/silas/PIBIC/code/gameoflife: error while loading shared libraries: libhwloc.so.15: cannot open shared object file: No such file or directory
[Inferior 1 (process 7459) exited with code 0177]

My LD_LIBRARY_PATH is already set up. I have already tried to run the commands set env LD_LIBRARY_PATH / usr / local / lib and set environment LD_LIBRARY_PATH /usr/local/lib , but the error persists.

The library path shown in the error is /usr/local/lib/libhwloc.so.15.

My system is Arch linux, distro Manjaro KDE.

    
asked by anonymous 19.09.2018 / 23:19

0 answers