You are not logged in.
lightstream: I have the exact problem as you!
~ > LD_PRELOAD=/home/joakim/skype-workaround/usr/lib/libgobject-2.0.so.0.3400.3 skype ERROR: ld.so: object '/home/joakim/skype-workaround/usr/lib/libgobject-2.0.so.0.3400.3' from LD_PRELOAD cannot be preloaded: ignored. Segmentation fault (core dumped)
joctee - try pressing Ctrl-C as soon as you see the message "ERROR: ld.so: object '/home/joakim/skype-workaround/usr/lib/libgobject-2.0.so.0.3400.3' from LD_PRELOAD cannot be preloaded: ignored."
That's what seemed to allow me to start skype! Obviously easier than messing with scripts, if it works for you?
Offline
When using a 64 bit system, you will need to use the 32 bit package lib32-glib2. Following the LD_PRELOAD instructions with that work fine for me.
Offline
Ok, I found out was what wrong in my case. There are two glibc2 packages:
glib2-2.34.3-1-x86_64.pkg.tar.xz
lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz
I first used the first one, which gave me the cryptic error message. However, the second one works. This is how I did it:
mkdir ~/skype-workaround
cd ~/skype-workaround
wget "http://mirror.yongbok.net/archlinux/multilib/os/x86_64/lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz"
tar -xf lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz
LD_PRELOAD=~/skype-workaround/usr/lib32/libgobject-2.0.so.0.3400.3 skype
Offline
Perhaps modifying the script at /usr/bin/skype to add the v2.34 glib2 library to the LD_PRELOAD stuff in there would help? As I said, my skype is running at the moment, so I'm reluctant to stop it to test!
I add
Exec=env LD_PRELOAD=/home/damien/libgobject-2.0.so.0.3400.3
directly in in the /usr/bin/skype script, and it works perfectly. Thanks man !
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline
Anybody still having problems with this, a couple of quick notes.
Those running 64-bit Arch need the lib32 package of Glib2 ( my post mentioned the x86 package since it was addressed to an x86 user.)
A new Gllib2 package is in the testing repo now ( Glib2 2.36.1-2 for x86 ) .... it has a possibly temp fix for this issue and several others.
It's a strange bug if you want to read about it => FS#34630
With the new Glib2 package, you can change the Exec line back to just skype.
TL;DR easiest thing to do to fix this => update your Glib2 to the latest one currently in Testing repo
Offline
The new lib32-glib2 2.36.1-3 fixes the problem.
Personal spot :: https://www.smirky.net/ :: Try not to get lost!
Offline
btw, 64-bit lib32 is in Multilib
32-bit is in Testing
Offline
This post has been more or less answered... i guess, but for people who do stumble over this, i created a executable skype file inside $HOME/bin/skype with:
#!/bin/bash
exec=env LD_PRELOAD=/home/kyle/build/usr/lib32/libgobject-2.0.so.0.3400.3 /usr/bin/skype
worked like a charm, thanks Zack7777 for the old libs
Offline
Interesting and useful thread. I'm also running compiz + xfce and was getting xserver crashes minutes after getting into my environment. typically, I boot to the command prompt, startxfce4, then do a "compiz --replace ccp &" to get going. My system would work OK for about 2-3 mins then dump me out of the GUI and back to the prompt with an ugly error spew that may as well have been written in ancient Greek.
The rollback of glib2 stabilized things, but apps like truecrypt were failing with reference to gvfs, whose rollback was complicated by its mutual dependence with gvfs-obexftp. Got them both rolled back, and things seem to be OK (for now?)....but this is not good. Thanks very much for the info posted here, and if I have anything that I think might help, I'll post, but mainly just lurk, since I'm not much of a power user.
--cheers
Last edited by purple12 (2013-04-25 07:15:01)
Offline
The new lib32-glib2 2.36.1-3 fixes the problem.
I'm on X86_64 and i can confirm that update solved my problem too. No more segfaults.
I suggest anyone to update, at least that package because it's easier and more elegant solution.
Offline
The same thing for me on a i686 system
I had to downgrade to glib-2.34.3-1Serge
Thanks!
Works for me on my i686.
Offline
hello,
Saalty, there is a slightly less annoying way to make Skype work without downgrading the latest Glib2.
If you wish to try it, give it a shot as follows:
1) From your pacman cache or from e.g. Arch Rollback Machine ( see wiki ) get the old glib2 package ( 2.34 )
2) Open the package using Archive Manager, find libgobject-2.0.so.0.3400.3
3) Cut and paste it preferably somewhere in your home directory ( It's possible to copy to system directories as well, but littering the system directories with non-pacman tracked SOs is bad practice. It could also create issues further on .)Now you have several options to run Skype:
You can run it from a terminal in the following manner:
LD_PRELOAD=<absolute-path-to-the-so-we-extracted> skype
You can also setup a wrapper script that runs the above code ( don't forget to make it executable )
Another way is to modify the skype .desktop file so you can click skype in the menu, and run it.
For that you edit ( as root .... or via sudo with your favorite editor ) /usr/share/applications/skype.desktop
Find the "Exec" line and change it to :Exec=env LD_PRELOAD=<absolute-path-to-the-so> skype
.. and save the file.
Be careful with spaces in the command ... even one out-of-place space would mess up the whole command
If your chosen path has spaces in it, you should enclose it in double quotes. It's easier to keep it simple and without spaces.
E.g. /home/saalty/darnskype/libgobject-2.0.so.0.3400.3In this case the line becomes:
Exec=env LD_PRELOAD=/home/saalty/darnskype/libgobject-2.0.so.0.3400.3 skype
Good luck
works perfect for me,
thx opensrcrox
I watch that rotten box 'til my eyeballs fail to see. The Revolution will not be televised!
Offline
So if I choose to downgrade glib2 (which worked for me), I have to ignore future updates of this package ?
Offline
So if I choose to downgrade glib2 (which worked for me), I have to ignore future updates of this package ?
As Smirky said earlier in this post, the last glib2 update solved the problem. So you can update it to the last version safely.
Last edited by Cthulhu82 (2013-04-30 12:18:29)
« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock
Offline