📜 ⬆️ ⬇️

How I put a new Skype

It took me to put skype. The system is debian testing, amd64. Since there is no Skype in the repositories, it was decided to look for it on the office.
skype.com -> Download has shown many options for every taste and color. Only here Debian for amd64 was not there. But there was a certain 'static', which was immediately merged and unpacked:

 ineu @ ineu ~% tar xjpf skype_static-2.1.0.47.tar.bz2
 ineu @ ineu ~% cd skype_static-2.1.0.47 /


and launched:
')
 ineu @ ineu skype_static-2.1.0.47% ./skype
 ./skype: error while loading shared libraries: libgthread-2.0.so.0


Question number 1 - what kind of shared libraries are we talking about, if this is supposedly a static link?

 ineu @ ineu skype_static-2.1.0.47% ldd skype
     linux-gate.so.1 => (0xf7f71000)
     libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7e90000)
     libXv.so.1 => /usr/lib32/libXv.so.1 (0xf7e8b000)
     libXss.so.1 => /usr/lib32/libXss.so.1 (0xf7e87000)
     libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7e7f000)
     libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7e67000)
     libXi.so.6 => /usr/lib32/libXi.so.6 (0xf7e5e000)
     libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf7e55000)
     libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf7e4e000)
     libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf7dd6000)
     libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf7dab000)
     libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7d9d000)
     libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7c81000)
     libz.so.1 => /usr/lib32/libz.so.1 (0xf7c6c000)
     libgthread-2.0.so.0 => not found
     libglib-2.0.so.0 => not found
     librt.so.1 => /lib32/librt.so.1 (0xf7c63000)
     libdl.so.2 => /lib32/libdl.so.2 (0xf7c5f000)
     libpthread.so.0 => /lib32/libpthread.so.0 (0xf7c47000)
     libstdc ++. so.6 => /usr/lib32/libstdc++.so.6 (0xf7b57000)
     libm.so.6 => /lib32/libm.so.6 (0xf7b32000)
     libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7b07000)
     libc.so.6 => /lib32/libc.so.6 (0xf79b2000)
     libuuid.so.1 => /lib32/libuuid.so.1 (0xf79ae000)
     libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf7988000)
     libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7984000)
     libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf796b000)
     /lib/ld-linux.so.2 (0xf7f72000)
     libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7966000)


Or I misunderstand the meaning of the word static ...
For sample, dynamic merged from offsite:

 ineu @ ineu ~% tar xjpf skype-2.1.0.47.tar.bz2
 ineu @ ineu ~% cd skype-2.1.0.47
 ineu @ ineu skype-2.1.0.47% ./skype
 ./skype: error while loading shared libraries: libQtDBus.so.4: can not be open
 ineu @ ineu skype-2.1.0.47% ldd skype
     linux-gate.so.1 => (0xf7f47000)
     libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7e66000)
     libXv.so.1 => /usr/lib32/libXv.so.1 (0xf7e61000)
     libXss.so.1 => /usr/lib32/libXss.so.1 (0xf7e5d000)
     librt.so.1 => /lib32/librt.so.1 (0xf7e55000)
     libQtDBus.so.4 => not found
     libQtGui.so.4 => not found
     libQtNetwork.so.4 => not found
     libQtCore.so.4 => not found
     libpthread.so.0 => /lib32/libpthread.so.0 (0xf7e3c000)
     libstdc ++. so.6 => /usr/lib32/libstdc++.so.6 (0xf7d4c000)
     libm.so.6 => /lib32/libm.so.6 (0xf7d28000)
     libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7cfd000)
     libc.so.6 => /lib32/libc.so.6 (0xf7ba7000)
     libdl.so.2 => /lib32/libdl.so.2 (0xf7ba3000)
     libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7a87000)
     libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7a79000)
     /lib/ld-linux.so.2 (0xf7f48000)
     libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7a60000)
     libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7a5c000)
     libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7a57000)


Question number 2 - what is the difference between static and dynamic in the concept of Skype? Judging by the dependencies - only in koutyshnyh libraries. And in the README neither the one nor the other version of this is indicated.

Let's try again, this time with the package for 'Ubuntu 8.10+ 64-bit':

 ineu @ ineu ~% sudo dpkg -i skype-ubuntu-intrepid_2.1.0.47-1_amd64.deb
 Select a previously unselected skype package.
 (Reading the database ... 166947 files and directories are currently installed.)
 The skype package is unpacked (from the skype-ubuntu-intrepid_2.1.0.47-1_amd64.deb file) ...
 The skype package is configured (2.1.0.47-1) ...
 Handling triggers for desktop-file-utils ...


Installed without dependency conflicts, run:

 ineu @ ineu ~% skype
 skype: error while loading shared libraries: libQtDBus.so.4: can not be open


Not installed library?

 ineu @ ineu ~% dlocate libQtDBus.so.4
 libqt4-dbus: /usr/lib/libQtDBus.so.4.5.2
 libqt4-dbus: /usr/lib/libQtDBus.so.4
 libqt4-dbus: /usr/lib/libQtDBus.so.4.5


The library is installed, but for some reason Skype doesn't find it. Check:

 ineu @ ineu ~% ldd `which skype`
     linux-gate.so.1 => (0xf7f42000)
     libasound.so.2 => /usr/lib32/libasound.so.2 (0xf7e61000)
     libXv.so.1 => /usr/lib32/libXv.so.1 (0xf7e5c000)
     libXss.so.1 => /usr/lib32/libXss.so.1 (0xf7e58000)
     librt.so.1 => /lib32/librt.so.1 (0xf7e50000)
     libQtDBus.so.4 => not found
     libQtGui.so.4 => not found
     libQtNetwork.so.4 => not found
     libQtCore.so.4 => not found
     libpthread.so.0 => /lib32/libpthread.so.0 (0xf7e37000)
     libstdc ++. so.6 => /usr/lib32/libstdc++.so.6 (0xf7d47000)
     libm.so.6 => /lib32/libm.so.6 (0xf7d23000)
     libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7cf8000)
     libc.so.6 => /lib32/libc.so.6 (0xf7ba2000)
     libdl.so.2 => /lib32/libdl.so.2 (0xf7b9e000)
     libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7a82000)
     libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7a74000)
     /lib/ld-linux.so.2 (0xf7f43000)
     libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7a5b000)
     libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7a57000)
     libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7a52000)


It seems that the library of this supposedly 64bit version needs a 32bit one. What kind of nonsense?

 ineu @ ineu ~% readelf -h `which skype` |  grep machine
   Machine: Intel 80386


And the version is not 64bit at all ...
Question number 3 - what is this package for amd64, which contains a 32bit binary and depends on 32bit libraries?

The remaining options did not even try - it is obvious that they are all for 32bit systems. I don’t want to deliver 32bit versions of all the libraries he needs. Deb, ostensibly for amd64 and static, their expectations were not met. I don’t say anything about the 4th version under Windows and only 2 nd under Linux, porting from platform to platform is not an easy thing. But is it really difficult to at least _ actually_ build a package under amd64?
Attempting to deliver the previous version (non-beta) was also unsuccessful, since it is not clear where to look for it. I did not find any references to it at the site, and links from numerous howto on the Internet now lead to the same latest beta version. Here is such a friendly thing - Skype ...

Source: https://habr.com/ru/post/68770/


All Articles