LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-03-2012, 03:16 AM   #1
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Rep: Reputation: 50
skype-4.0.0.7 static not working on slackware 13.37.0


Yesterday I tried to build a skype package for slackware.
I thought I'd start with the static version.
After installing the built package I tried to run skype
(from the menu): nothing happened. I ran it from the console.
Turns out that despite its name it needs libtiff.so.4
(this version of slackware has libtiff.so.3.9.4).

Then I built the dynamic version. This one seems to work and
Code:
ldd /usr/bin/skype | grep libtiff
shows nothing
 
Old 07-03-2012, 03:28 AM   #2
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 276

Rep: Reputation: 84
ldd works only if you install a multilib system.

substitute ldd with

LD_PRELOAD=/usr/share/skype/lib32/libv4l/v4l2convert.so GCONV_PATH=/usr/share/skype/lib32/gconv QT_PLUGIN_PATH=/usr/share/skype/lib32/plugins /usr/share/skype/lib32/ld-linux.so.2 --list --library-path /usr/share/skype/lib32/ /usr/share/skype/skype

libtiff.so.4 is a link to libtiff.so.3.9.4 (see /usr/share/skype/lib32/)

skype_static 4.0.0.7 for 13.37 was only few tested.

Report problems and I correct it (or I try to correct ;-) ).
 
Old 07-03-2012, 04:01 AM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,647

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Quote:
Originally Posted by zerouno View Post
ldd works only if you install a multilib system..
No. ldd works in any case. And, BTW:
Code:
bash-4.1$ LD_PRELOAD=/usr/share/skype/lib32/libv4l/v4l2convert.so GCONV_PATH=/usr/share/skype/lib32/gconv QT_PLUGIN_PATH=/usr/share/skype/lib32/plugins /usr/share/skype/lib32/ld-linux.so.2 --list --library-path /usr/share/skype/lib32/ /usr/share/skype/skype
bash: /usr/share/skype/lib32/ld-linux.so.2: Aucun fichier ou dossier de ce type
bash-4.1$
I have Skype installed in Sackware-13.37 and working (mostly).

Last edited by Didier Spaier; 07-03-2012 at 04:04 AM.
 
Old 07-03-2012, 04:35 AM   #4
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 276

Rep: Reputation: 84
ldd is a bash script that search
RTLDLIST="/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2"
if you have not a multilib, you have not the first file.

also, ldd /usr/share/skype/skype try to search libraries in /lib /usr/lib, but skype_static have these libraries in /usr/share/skype/lib32

please give me
ls -l /usr/share/skype/lib32/ld*


I expect this output:
-rwxr-xr-x 1 root root 136521 Mar 24 2011 ld-2.13.so
lrwxrwxrwx 1 root root 10 Jul 3 10:24 ld-linux.so.2 -> ld-2.13.so

if ld-linux.so.2 is missing or different, try to launch (as root)
cd /
bash /var/log/scripts/skype_static-4.0.0.7-x86_64-1sl

if is missing ld-2.13.so reinstall the package (upgradepkg --reinstall)

and retry the ls command


please, do an
export LANG=en_US
before launch skype, so I can see an english output message

("Aucun fichier ou dossier de ce type" should to be "No such file or directory")
 
Old 07-03-2012, 04:37 AM   #5
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 276

Rep: Reputation: 84
oh sorry..
you have installed skype_static from "skype_static-4.0.0.7-x86_64-1sl"
or you have a 32bit slackware and have installed skype_static from skype.com?
 
Old 07-03-2012, 04:45 AM   #6
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 276

Rep: Reputation: 84
I had read too rapidly your post :-D

I have a slackware64 version, so ignore all I wrote ;-)

however to use skype you must do
ln -s libtiff.so /usr/lib/libtiff.so.4
 
Old 07-03-2012, 06:30 AM   #7
notihnio
LQ Newbie
 
Registered: Oct 2009
Location: Greece
Distribution: slackware-current
Posts: 23

Rep: Reputation: 5
I use x86_64 current. I successfully installed skype4 rpm package(x86) using eric's multilib packages and rpm2txz command. and works like a charm
 
Old 07-03-2012, 06:51 AM   #8
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Original Poster
Rep: Reputation: 50
I forgot to mention but I use a 32-bit system.
I built the static package from this source: skype_static-4.0.0.7.tar.bz2 (downloaded from skype.com)

From my static package (skype-4.0.0.7-i686-1.txz)
Code:
# mkdir y
# cd y
# tar xf ../skype-4.0.0.7-i686-1.txz
# ls -F usr/share/skype
avatars/  icons/  lang/  sounds/
#
#  ls -F usr
bin/  doc/  local/  share/
As you can see there's no lib folder.
 
Old 07-03-2012, 06:59 AM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,647

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
The answer is there.
 
1 members found this post helpful.
Old 07-03-2012, 07:11 AM   #10
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Original Poster
Rep: Reputation: 50
Code:
ln -s /usr/lib/libtiff.so /usr/lib/libtiff.so.4
One thing that puzzles me.
Isn't libtiff.so.4 supposed to be a link to some libtiff.so.4.[0-9].[0-9] file?
And a quick search on the internet didn't show any libtiff.so.4.*

But I'll try that on the static package.
Thanks guys
 
Old 07-03-2012, 07:39 AM   #11
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,647

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Just try

EDIT: I just did what README.STATIC states. It works here.

Last edited by Didier Spaier; 07-03-2012 at 09:09 AM. Reason: sentence beginning with EDIT added
 
Old 07-03-2012, 08:02 AM   #12
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 276

Rep: Reputation: 84
Quote:
Originally Posted by vonbiber View Post
As you can see there's no lib folder.
The "lib" directory is in /usr/share/skype/lib32 in 64bit package from slacky.eu

Becouse skype does NOT exists for 64bit is needed to install the 32bit compatibility (multilib). This install 32bit libraries in /usr/lib, as you have on your 32bit system.

Some people don't want to install an entire 32bit subsystem ONLY for using skype.

So I done a package that contains the only 32bit libraries needed to use skype and I put these libraries in a dedicated directory /usr/share/skype/lib32 to leave the system cleaned.


I called this package skype_static NOT from the name of "skype_static.tar.bz2" source file but from the libraries statically included in the package.
This fact created a lot of confusion at start of this topic. Sorry!
 
Old 07-03-2012, 08:12 AM   #13
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,647

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
@zerouno: Si sono scusati di utilizzare un sito dove si parla italiano

PS Congratulazioni per il vostro secondo posto.

Sinceramente,

Last edited by Didier Spaier; 07-03-2012 at 08:14 AM.
 
Old 07-04-2012, 03:35 AM   #14
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware
Posts: 299

Original Poster
Rep: Reputation: 50
ok, thanks everybody. Everything's dandy with the 'static' version.
Thanks for the clarification zerouno.
At first I was confused by the fact that despite its name it required a dynamic library.
 
Old 07-04-2012, 05:18 AM   #15
zerouno
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 276

Rep: Reputation: 84
Yes, the difference from the 'static' version and the 'dynamic' is only on QT library:
diff ldd from static and dynamic:
$ diff skype1 skype2
only in static:
< libQtCore.so.4
< libQtDBus.so.4
< libQtGui.so.4
< libQtNetwork.so.4
< libQtXml.so.4
< libpng14.so.14
only in dynamic:
> libtiff.so.4

note: the dynamic version does not require the libtiff package; static version require it.

In effect, if you have a 32bit slackware distribution you may to install the dynamic version becouse you have the libQt* already installed on your system (package 'qt'). Some distro that use gnome or xfce only, may not have it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skype working | Firefox Chrome Not Working saurabh113 Linux - Networking 1 11-29-2011 05:05 PM
latest skype Skype 2.2.0.25 and Slackware --current anti_user Slackware 10 04-07-2011 03:22 PM
noise in skype to skype calls in skype v2.1 beta for fedora mq15 Linux - Software 0 01-20-2010 01:04 AM
Microphone not working for Skype on P5NSLI Motherboard running Slackware 12.1 meetscott Linux - Hardware 9 12-14-2008 01:32 PM
How to get skype working peterfc Linux - Desktop 3 08-30-2006 09:54 PM


All times are GMT -5. The time now is 12:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration