Gdb Error While Loading Shared Libraries