Help - Search - Members - Calendar
Full Version: No pictures on 64-bit Ubuntu
Skype Community > English > Skype for Linux
a-v
I'm using Skype 2.0.0.68 on 64-bit Ubuntu 7.10. The problem is that there are absolutely no pictures or avatars in Contact details or My profile (except for the two default ones - one for ordinary contact and one for echo123).

Details follow:

System: Linux phoenix 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64 GNU/Linux
Ubuntu 7.10 with latest upgrades

Method I've always used for Skype installation:
  • Unpack dynamic Skype tarball to /usr/local/share/skype and create a launcher script in /usr/local/bin
  • Install ia32-libs
  • Use ldd to find out missing libraries and then download i386 packages containing the libraries from stable repository (via packages.ubuntu.com)
  • Unpack the /usr/lib parts of the packages into /usr/local/lib32
  • Configure ld.so to be aware of /usr/local/lib32 and run ldconfig
  • Run Skype smile.png
Has anyone else encountered the problem?
a-v
Oh well, running the static build works fine. So the faulty one is Ubuntu's qt4 - version 4.3.2-0ubuntu3.2. Does anyone know what might be wrong with it?
Andypoo
Perhaps the Ubuntu one is compiled with no JPG support, or with JPG support linked to system libraries that can't be found on a 64-bit system.

Andy.
a-v
Thanks for your reply.

The same qt4 libraries work fine on my second i386 PC, so the JPG support is enabled. Could you explain more about the second idea? ldd reports no missing libraries at all - how do I determine them?

Also, there exists a library libjpeg.so.62.0.0 in /usr/lib32 - does qt4 use this or something else?
Andypoo
Try running ldd on your 32-bit Qt library's libQtGui.so.4 and see if this reveals any linkage to JPG libraries.

Andy.
a-v
The command yields the following result:

CODE
        linux-gate.so.1 =>  (0xffffe000)
        libaudio.so.2 => /usr/lib32/libaudio.so.2 (0xf77ff000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf77ae000)
        libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf778a000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7782000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf776a000)
        libQtCore.so.4 => /usr/local/lib32/libQtCore.so.4 (0xf75ea000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf75d5000)
        libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf75d0000)
        librt.so.1 => /lib32/librt.so.1 (0xf75c6000)
        libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf7509000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf74f1000)
        libXi.so.6 => /usr/lib32/libXi.so.6 (0xf74e9000)
        libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf74e1000)
        libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf74db000)
        libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf74d5000)
        libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf74cc000)
        libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf74c9000)
        libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf7459000)
        libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf742e000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7420000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf732e000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf732a000)
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7237000)
        libm.so.6 => /lib32/libm.so.6 (0xf7212000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7207000)
        libc.so.6 => /lib32/libc.so.6 (0xf70bd000)
        /lib/ld-linux.so.2 (0x56555000)
        libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf709c000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7099000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7094000)


There's no mention of JPEG and no unsatisfied dependencies. Although it refuses to work on 64-bit system, it does work on 32-bit system.
Andypoo
QUOTE(a-v @ Sat Mar 29 2008, 18:01) [snapback]511893[/snapback]

Although it refuses to work on 64-bit system, it does work on 32-bit system.

Hmm, I'm a bit confused by this comment, as the Qt libraries used on the 64-bit and 32-bit systems are likely to be differently compiled (they're part of separate packages with separate maintainers).

It may still be worth checking that the ia32-libs Qt4 (that is, the one provided on the 64-bit system) has been compiled with JPG support.

Andrew.
a-v
Ubuntu does not ship qt4 with ia32-libs, so, as I mentioned in the first post, I simply took the 32-bit qt4 packages from Ubuntu repository and placed the libraries into /usr/local/lib32. Therefore, the libraries are completely identical on both systems. That's what I meant by "works on 32-bit, but doesn't work on 64-bit". Sorry to have confused you. smile.png

Just in case, these are the libraries missing in Ubuntu's ia32-libs, but needed to run Skype (all of them are taken from 32-bit packages in my case):

CODE
        libXss.so.1 => /usr/local/lib32/libXss.so.1 (0xf7ef8000)
        libQtDBus.so.4 => /usr/local/lib32/libQtDBus.so.4 (0xf7e9d000)
        libQtGui.so.4 => /usr/local/lib32/libQtGui.so.4 (0xf7702000)
        libQtNetwork.so.4 => /usr/local/lib32/libQtNetwork.so.4 (0xf7672000)
        libQtCore.so.4 => /usr/local/lib32/libQtCore.so.4 (0xf74f2000)
        libdbus-1.so.3 => /usr/local/lib32/libdbus-1.so.3 (0xf7133000)
        libQtXml.so.4 => /usr/local/lib32/libQtXml.so.4 (0xf70da000)


Ubuntu's packages that provide the libraries are libdbus-1-3, libqt4-core, libqt4-gui, libxss1.
a-v
A friend of mine running 64-bit Fedora 9 reports pictures are working there. Dynamic Skype on his system has the following additional dependencies (obviously, through direct library dependencies) over my system:

CODE
    libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00271000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0075b000)
    libcap.so.2 => /lib/libcap.so.2 (0x00304000)
    libselinux.so.1 => /lib/libselinux.so.1 (0x00c54000)


However, none of these libraries seem to be connected with JPEG. This fact is confusing me.
Andypoo
QUOTE(a-v @ Sun Mar 30 2008, 10:25) [snapback]512035[/snapback]

Ubuntu does not ship qt4 with ia32-libs, so, as I mentioned in the first post, I simply took the 32-bit qt4 packages from Ubuntu repository and placed the libraries into /usr/local/lib32. Therefore, the libraries are completely identical on both systems. That's what I meant by "works on 32-bit, but doesn't work on 64-bit". Sorry to have confused you. smile.png


Ahh, thanks smile.png On 8.04, it's included in ia32-libs I believe, thus my confusion initially smile.png

I have no idea what's going on in this case. It's been an issue since forever, but it works for some people and not others. If you ever get to the bottom of it, please yell out smile.png

I assume still some linkage somewhere that's a bit out of whack. But I have no idea to what. It has to be somewhere in Qt to do with JPEG support, but I couldn't guess more specifically.

Probably still worth finding out what jpg libraries Qt is compiled against in Ubuntu. There is a compile-time option to define this. That may at least focus the search a little smile.png

Andy.
a-v
I've posted a question about configuration options in ubuntu-devel-discuss mailing list; I also took a quick look on the latest Qt4 source - the configure script accepts options "Disable JPEG", "Use system JPEG library", "Use the JPEG library bundled with the source". Since we see no external libjpeg linkage, it must be the built-in one.

By the way, I tried the Qt4 libraries available in 8.04 ia32-libs - the result is still the same. However, this is not yet to be considered a proved fact since the rest of my system is still 7.10.
a-v
Today upgraded to 8.04. Still no pictures with dynamic version, as I expected.
Andypoo
I've also seen this on Ubuntu 8.04 on 32-bit.

Andrew.
akiragtr
I don't know if this works but I will copy it here. Maybe it helps.

http://sudan.ubuntuforums.com/showpost.php...amp;postcount=4

QUOTE
I have a fix for it. As far as I can tell, its a problem with Qt4.

You need to download the static version of skype:
http://www.skype.com/go/getskype-linux-static

Then move the contents of the folder to somewhere discrete. I recomend /opt/Skype

Uninstall the installed version of skype:
sudo dpkg -r skype

Make a script to launch Skype from the directory it is in:
sudo gedit /usr/bin/skype

write this in it:

Code:

#!/bin/bash

cd /opt/Skype
./skype

Then do this in terminal:
sudo chmod +x /usr/bin/skype

You need to copy the launcher from the Skype directory to the applications directory, do this in terminal:
sudo cp /opt/Skype/skype.desktop /usr/share/applications/skype.desktop

open the file like this:

sudo gedit /usr/share/applications/skype.desktop

and change it from this:

Quote:
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=skype
Icon=skype.png
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Network;Application;
to this:

Quote:
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=skype
Icon=/opt/Skype/icons/SkypeBlue_48x48.png
Terminal=0
Type=Application
Encoding=UTF-8
Categories=Network;Application;
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.