LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Skype 2.1 Beta slackbuild for Slackware 13? (https://www.linuxquestions.org/questions/slackware-14/skype-2-1-beta-slackbuild-for-slackware-13-a-761612/)

Ahmed 10-13-2009 10:32 AM

Skype 2.1 Beta slackbuild for Slackware 13?
 
Hey all, this one's about Skype. slackbuilds.org has the old version 2.0.0.72, which works fine on Slackware 13, even without KDE installed (except only a few libraries and QT4).

Anyway there's this beta version 2.1.0.47 (which is a whole lot better than the old one), and Skype offer a standalone "static" directory, which has a working executable. However, I'd like to figure out how to install this beta version via slackbuild. When I update the version number in the available slackbuild, the installation goes fine but the program seg-faults. No other error messages, nothing.

The static source is working very well as it is, but has anyone managed to get this beta version slackbuilt?

Thanks!

-A

~sHyLoCk~ 10-13-2009 10:39 AM

Why not write one yourself as I doubt you will find a beta slackbuild.

larryhaja 10-13-2009 11:00 AM

Quote:

Originally Posted by Ahmed (Post 3717709)
When I update the version number in the available slackbuild, the installation goes fine but the program seg-faults. No other error messages, nothing.

The static source is working very well as it is, but has anyone managed to get this beta version slackbuilt?

Yes, on Slackware 13.0 32bit I was able to make a test call. The slackbuild from slackbuilds.org does work with a version bump. However, this does lead to a segfault like you had mentioned. Either comment out or delete the stripping commands from the slackbuild as well. For whatever reason, if you don't strip the binary it doesn't segfault.

Ahmed 10-13-2009 11:03 AM

Quote:

Originally Posted by larryhaja (Post 3717739)
Yes, on Slackware 13.0 32bit I was able to make a test call. The slackbuild from slackbuilds.org does work with a version bump. However, this does lead to a segfault like you had mentioned. Either comment out or delete the stripping commands from the slackbuild as well. For whatever reason, if you don't strip the binary it doesn't segfault.

I'll try that when I get home. Thanks!

-A

Ahmed 10-13-2009 06:53 PM

Quote:

Originally Posted by larryhaja (Post 3717739)
Yes, on Slackware 13.0 32bit I was able to make a test call. The slackbuild from slackbuilds.org does work with a version bump. However, this does lead to a segfault like you had mentioned. Either comment out or delete the stripping commands from the slackbuild as well. For whatever reason, if you don't strip the binary it doesn't segfault.

That one did it. Thanks a lot! :) I still get some error message about missing libltdl.so.7, and refused connection to pulseaudio, but Skype's working very well, so I don't care that much.

Cheers!

-A

cwwilson721 10-19-2009 12:35 PM

Quote:

Originally Posted by larryhaja (Post 3717739)
Yes, on Slackware 13.0 32bit I was able to make a test call. The slackbuild from slackbuilds.org does work with a version bump. However, this does lead to a segfault like you had mentioned. Either comment out or delete the stripping commands from the slackbuild as well. For whatever reason, if you don't strip the binary it doesn't segfault.

What commands are those?

larryhaja 10-19-2009 12:40 PM

Quote:

Originally Posted by cwwilson721 (Post 3725109)
What commands are those?

Code:

find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true


cwwilson721 10-19-2009 12:58 PM

I found 'em...
So bloody tired from the stupid webcam, I couldn't see straight.

All up/working.

Thanks

Martinezio 10-20-2009 04:11 AM

Hmm... For me this version of skype doesn't work. I have some strange error messages:
Code:

Inconsistency detected by ld.so: dl-open.c: 623: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
and cannot find the solution 'til now :/ Probably, the ld try to load a library from 64-bit repository, but I cannot find which one...
Code:

bash:~# ldd /usr/bin/skype
        linux-gate.so.1 =>  (0xf7f03000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xf7dfb000)
        libXv.so.1 => /usr/lib/libXv.so.1 (0xf7df6000)
        libXss.so.1 => /usr/lib/libXss.so.1 (0xf7df3000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xf7deb000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xf7dd3000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xf7dc9000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf7dc0000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf7db9000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf7d43000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf7d1a000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xf7d0c000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf7bf0000)
        libz.so.1 => /usr/lib/libz.so.1 (0xf7bdc000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xf7bd8000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf7b05000)
        librt.so.1 => /lib/librt.so.1 (0xf7afc000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7af8000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf7adf000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf79f3000)
        libm.so.6 => /lib/libm.so.6 (0xf79cd000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xf79c0000)
        libc.so.6 => /lib/libc.so.6 (0xf7860000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xf785b000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf7843000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf7840000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf783b000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf781b000)
        /lib/ld-linux.so.2 (0xf7f04000)


cwwilson721 10-20-2009 06:32 AM

For me (and I have 64multilib) I changed this:
Code:

find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

to this:
Code:

find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : || true

And everything compiled nicely, and runs fine.

XGizzmo 10-20-2009 06:44 AM

Quote:

Originally Posted by cwwilson721 (Post 3725919)
[/code]to this:
Code:

find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : || true

And everything compiled nicely, and runs fine.

With the strip command removed this code basically does nothing and is the same as completely removing it.

cwwilson721 10-20-2009 07:12 AM

I figured least removed, most benefit.

It worked fine, for me.

BTW, any ideas how to always make Skype launch
Code:

D_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
without using a script for it? Reason why, my cam won't work without it, and KDE always launches Skype on start., but without that PRELOAD, so video doesn't work. I have to close Skype, and start with script.

Ideas?

Bruce Hill 10-20-2009 07:05 PM

Or, you could use Alien Bob's skype.SlackBuild which was written for a static
Skype to begin with and needs no editing for 2.1.0.47.

titopoquito 10-21-2009 07:55 AM

Quote:

Originally Posted by cwwilson721 (Post 3725947)
BTW, any ideas how to always make Skype launch
Code:

D_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
without using a script for it? Reason why, my cam won't work without it, and KDE always launches Skype on start., but without that PRELOAD, so video doesn't work. I have to close Skype, and start with script.

Ideas?

I think you could adjust the desktop file for skype which should be in /usr/share/applications. Just change the "Exec" line in this file.

If this doesn't work you could try to rename /usr/bin/skype to something like "skype-static" and create a script that you name "skype" with your starting line so that it starts your skype-static file with that addition.

cwwilson721 10-21-2009 11:48 AM

Worked perfect...Thanks


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