fixed the issue. Will look into that further The simplest solution is to temporarily restore /opt/mydir/lib/libmylib.so.0 to the copy that was used at crash time (i.e. the one now in /tmp), analyse the core, then restore back the new version. If you don't want to do that, set solib-search-path and set sysroot are your friends.
(gdb) set sysroot /no/such/file
(gdb) set solib-search-path /tmp:/usr/lib:/lib
(gdb) core /tmp/core
How do I load a view from a specific (shared) path in CodeIgniter?
By : sketterman
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further Have you looked at Matchbox?? it seems that it can do what you want..
Which linker setting determines the load path of a shared library?