LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Skype Symbol Lookup error - Whassup? (http://www.linuxquestions.org/questions/slackware-14/skype-symbol-lookup-error-whassup-4175420482/)

business_kid 08-05-2012 11:39 AM

Skype Symbol Lookup error - Whassup?
 
I have 13.37 & multilib from April last year. Tried skype recently, and this was the exchange
Code:

bash-4.1$ skype
skype: symbol lookup error: /usr/lib/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
bash-4.1$ grep  _ZN14QObjectPrivate15checkWindowRoleEv /usr/lib/libQtDBus.so.4
Binary file /usr/lib/libQtDBus.so.4 matches
bash-4.1$ ls -l /usr/bin/skype
-rwxr-xr-x 1 dec users 21358456 Jan  2  2012 /usr/bin/skype
bash-4.1$ ls -l /usr/lib/libQtDBus.*
lrwxrwxrwx 1 root root 19 Dec 28  2011 /usr/lib/libQtDBus.so -> qt/lib/libQtDBus.so
lrwxrwxrwx 1 root root 21 Dec 28  2011 /usr/lib/libQtDBus.so.4 -> qt/lib/libQtDBus.so.4
lrwxrwxrwx 1 root root 23 Dec 28  2011 /usr/lib/libQtDBus.so.4.7 -> qt/lib/libQtDBus.so.4.7
lrwxrwxrwx 1 root root 25 Dec 28  2011 /usr/lib/libQtDBus.so.4.7.0 -> qt/lib/libQtDBus.so.4.7.0
bash-4.1$ ls -l /usr/lib/qt/lib/libQtDBus.*
-rw-r--r-- 1 root root    707 Mar 25  2011 /usr/lib/qt/lib/libQtDBus.la
-rw-r--r-- 1 root root    720 Mar 25  2011 /usr/lib/qt/lib/libQtDBus.prl
lrwxrwxrwx 1 root root    18 Dec 28  2011 /usr/lib/qt/lib/libQtDBus.so -> libQtDBus.so.4.7.0
lrwxrwxrwx 1 root root    18 Dec 28  2011 /usr/lib/qt/lib/libQtDBus.so.4 -> libQtDBus.so.4.7.0
lrwxrwxrwx 1 root root    18 Dec 28  2011 /usr/lib/qt/lib/libQtDBus.so.4.7 -> libQtDBus.so.4.7.0
-rwxr-xr-x 1 root root 502104 Mar 25  2011 /usr/lib/qt/lib/libQtDBus.so.4.7.0

Skype is 2.2-32, and the lib is from qt-compat32-4.7.0_7abde40-x86_64-3.
Are those versions OK??

schmatzler 08-05-2012 02:28 PM

The latest Skype version is 4.0.0.8 - you should try that one out first :)

business_kid 08-06-2012 05:49 AM

Thanks for that.

Updated to skype-4.0.0.8 (Dynamic). Seem to have the latest compat32 package. Same error
Quote:

bash-4.1$ skype
skype: symbol lookup error: /usr/lib/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
bash-4.1$ LD_PRELOAD=/usr/lib/qt/lib/libQtDBus.so.4.7.0 skype
skype: symbol lookup error: /usr/lib/qt/lib/libQtDBus.so.4.7.0: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
I got the LD_PRELOAD thing from the Skype README - something about avatars.

414N 08-06-2012 06:14 AM

I need no LD_PRELOAD in my multilib Slackware64 13.37... Have you tried without it?

phenixia2003 08-06-2012 07:19 AM

Hello,

Quote:

Originally Posted by business_kid (Post 4747093)

Updated to skype-4.0.0.8 (Dynamic). Seem to have the latest compat32 package. Same error

I installed skype to check this, and I have no issue. Your qt-compat32 may be corrupted. Redownload it from alienbob repository then reinstall it, or if you're using "compat32pkg", run it as below :

Code:

compat32pkg --mirror @Worldwide-13.37 --install list:qt

--
SeB

business_kid 08-06-2012 10:20 AM

The plot thickens. . .
Below is the exchange here. In order, the md5sums are
1. The old lib
2. An upgradepkg --reinstall of the old archive
3. An upgradepkg --reinstall of a new download

Quote:

bash-4.1$ md5sum libQtDBus.so.4.7.0
bf162591c98b5b0b05ae1ec57c4fc9cd libQtDBus.so.4.7.0
bash-4.1$ md5sum libQtDBus.so.4.7.0
bf162591c98b5b0b05ae1ec57c4fc9cd libQtDBus.so.4.7.0
bash-4.1$ md5sum libQtDBus.so.4.7.0
bf162591c98b5b0b05ae1ec57c4fc9cd libQtDBus.so.4.7.0
bash-4.1$ skype
skype: symbol lookup error: /usr/lib/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
bash-4.1$
The file I am checking is /usr/lib/qt/lib/libQtDBus.so.4.7.0.

business_kid 08-06-2012 10:25 AM

Quote:

Originally Posted by 414N (Post 4747101)
I need no LD_PRELOAD in my multilib Slackware64 13.37... Have you tried without it?

Yes. It was a shot to nothing because they mention it in the README.

EDIT:: Even my old 32 bit box (dodgy psu, and only 1 gig of ram) on slack-13.37 has the same slackware lib installed, same md5sum, and runs skype!

I therefore conclude it has nothing to do with that lib, and something else in 32 bit is broken. Any ideas?

phenixia2003 08-06-2012 10:55 AM

Quote:

Originally Posted by business_kid (Post 4747265)
The plot thickens. . .
Below is the exchange here. In order, the md5sums are
1. The old lib
2. An upgradepkg --reinstall of the old archive
3. An upgradepkg --reinstall of a new download

The file I am checking is /usr/lib/qt/lib/libQtDBus.so.4.7.0.

Ok, so, can you give the output of :
Code:

ldd /usr/bin/skype
--
SeB

business_kid 08-06-2012 12:08 PM

Found it!

ldd /usr/bin/skype |less

I had /opt/google/earth/free on the end of the list in ld.so.conf, but some of the Qt libs in /usr/lib were being overlooked in favour of the Qt stuff in /opt/google/earth/free :-/. Maybe an incomplete install of Qt and rare running of ldconfig led to this. Anyhow, it's sorted. I'll have to try running googleearth sometime.


All times are GMT -5. The time now is 12:43 AM.