Sunday, September 4, 2016

gmrun Segmentation fault, core dumped, on ubuntu 16.10

run gmrun with gdb it show that, it has problem with libgobject-2.0.so.0

(gdb) run
Starting program: /usr/bin/gmrun
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff72b6819 in g_type_is_a ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb)



so the easy way to get gmrun run, we copy the working version from older ubuntu version that work, such as xenial. because it is a small app, it is easy to copy.

1- copy  all the neccessary file from the machine that has working gmrun
/usr/bin/gmrun to ~/gmrun/bin
/lib/x86_64-linux-gnu/libpng12.so.0.54.0 ~/gmrun/lib

2- create library symbolic link with the following structure

libpng12.so -> libpng12.so.0.54.0
libpng12.so.0 -> libpng12.so.0.54.0
libpng12.so.0.54.0

3- tun gmrun with the following command
$ LD_LIBRARY_PATH=~/gmrun/lib/ ~/gmrun/bin/gmrun





No comments:

Post a Comment