Skype is a neat tool, but the RPM that they ship is crap as it does not
properly list its dependencies. Instead you will need to try to start it,
figure out what package the missing file is from
(libpng12-0-32bit-1.2.44-2.1 in your case), and then rinse and repeat
until all dependencies are met. Complain to Skype about their RPM to help
with this in the future. Most applications properly list dependencies and
so an install is literally as simple as sudo zypper in ./skype.rpm but
until they fix that it’ll be painful as you’re experiencing. If you’re
using 64-bit OpenSUSE make sure you are adding the 32-bit versions of the
packages you add since Skype is 32-bit only.
For review, here are the RPMs I installed sometime shortly after Skype,
though some of them may have been related to other things installed at the
same time:
On 11/09/2010 04:06 PM, gropiuskalle wrote:
>
> Code:
> --------------------
> skype: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
> --------------------
>
>
> You need the package ‘libpng12-0’.
>
>
> Code:
> --------------------
> [PK_TMP_DIR|dir:///var/tmp/TmpDir.xftzR0] Repository already exists.
> --------------------
>
>
> Is that an error message from Skype? Sorry, beats me.
>
> Edit: sorry, didn’t read that it was a YaST message. Show us the
> output of ‘zypper lr -d’, please.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
I’ve just emailed them saying they should try harder as Linux is used by millions.
It’s in their interest that they sort out the dependencies issue as it will be better for their bottom line AND it will help Linux grow…a win-win situation, to say the least!
> skype: error while loading shared libraries: libpng12.so.0: cannot open
> shared object file: No such file or directory
i remember having had similar or even the same problem when installing
skype. is a while ago, but when i was googling the issue, i found that
there’s a naming problem with this libpng12.so. different distros or
packages apply different names to this library, and skype keeps looking
for the wrong one.
i checked in my /usr/lib directory, and find a shortcut named
“libpng12.so.0” which points to “libpng12.so.0.44.0”. if you do have the
second file (libpng12.so.0.44.0), try to create that shortcut, which skype
will probably find & accept. as root, run this:
cd /usr/lib
ln -s libpng12.so.0.44.0 libpng12.so.0
i found this solution somewhere on the skype forums, but didn’t bookmark
it. should be possible to find it there.
Yeah, that’s part of the issue, but the bigger problem is that Skype
doesn’t define what it needs in the first place. The system should be
able to resolve those dependencies based on what is set within the RPM,
but the RPM (from Skype) doesn’t include dependencies properly:
Notice a lack of things like libpng12, etc. Based on this all the system
needs is a basic shell and a version of RPM that is already on the system.
Good luck.
On 11/10/2010 05:41 AM, phanisvara wrote:
> On Wed, 10 Nov 2010 13:06:02 +0530, Sussudio
> <Sussudio@no-mx.forums.opensuse.org> wrote:
>
>> skype: error while loading shared libraries: libpng12.so.0: cannot open
>> shared object file: No such file or directory
>
> i remember having had similar or even the same problem when installing
> skype. is a while ago, but when i was googling the issue, i found that
> there’s a naming problem with this libpng12.so. different distros or
> packages apply different names to this library, and skype keeps looking
> for the wrong one.
>
> i checked in my /usr/lib directory, and find a shortcut named
> “libpng12.so.0” which points to “libpng12.so.0.44.0”. if you do have the
> second file (libpng12.so.0.44.0), try to create that shortcut, which skype
> will probably find & accept. as root, run this:
>
>
cd /usr/lib
> ln -s libpng12.so.0.44.0 libpng12.so.0
>
> i found this solution somewhere on the skype forums, but didn’t bookmark
> it. should be possible to find it there.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
thansk I downloaded ‘libpng12-0’ but havent got skype currenntly on my system as I uninstalled it. Now I can not install it as YaST if gives that error.
use the advanced search function to locate how to set the tmp
directory to automatically clear itself during a reboot…(i’d tell
you but i don’t remember)…
then reboot and that directory will be gone…
and, btw: the reason that directory already exists is because your
aborted or otherwise inturrepted YaST while it was trying to work…a
BAD no-no, be patient…
and, while handing out free info: stop uninstalling/reinstalling that
is a ‘trick’ used by unstable systems to clear unknown problems…it
is almost always a waste of time here…if you have a problem on
install one, you will probably have the same problem on install nuber
two, three, etc etc etc…UNTIL you change something…