robertknight / Qt-Inspector

Utility to browse the Qt object tree of a running Qt application and edit object properties on the fly.
GNU Lesser General Public License v3.0
401 stars 70 forks source link

No symbol "dlopen" in current context #11

Closed twestley closed 8 years ago

twestley commented 8 years ago

From gdb.log:

call dlopen(\"/home/terry.westley/usr/Qt-Inspector-master/build/lib/libQtInspector.so\",2)\n" &"No symbol \"dlopen\" in current context.\n"

Is this something wrong with the way I'm building my application under test?

robertknight commented 8 years ago

That function should be coming from the libdl library. Can you post the rest of gdb.log here and also details of your distribution?

twestley commented 8 years ago

CentOS 7, specifically:

$ cat /proc/version 
Linux version 3.10.0-327.3.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Wed Dec 9 14:09:15 UTC 2015

gcc-6.1.0 is in my path for compiling code

gdb.log attached: gdb.log.txt

twestley commented 8 years ago

One of my coworkers has successfully built qtinspector and I'm using his version now.

mdeweerd commented 5 years ago

Adding gdbStream << "sharedlibrary libdl\n"; helps with this issue.