PDA

View Full Version : symbol lookup error



madjid.80
September 26th, 2011, 06:16 PM
HI all
When i want to run my program this error occur :

symbol lookup error: /usr/lib/libQtOpenGL.so.4: undefined symbol: _ZN14QWidgetPrivate15checkWindowRoleEvI used ldconfig --format=compat /usr/lib and it didn't worked

Thanks

Bachstelze
September 26th, 2011, 08:31 PM
Paste your code and the command you run to compile it.

karlson
September 26th, 2011, 08:34 PM
HI all
When i want to run my program this error occur :

symbol lookup error: /usr/lib/libQtOpenGL.so.4: undefined symbol: _ZN14QWidgetPrivate15checkWindowRoleEvI used ldconfig --format=compat /usr/lib and it didn't worked

Thanks

Check output of:


$ ldd <binary>


Make sure that the libraries you are loading are actually the right ones.