[SOLVED] libz.so.1 download
Hello,
I tried to start skype or other program, but all error messages are related to libz.so.1 cannot be find. Actually I have such library but in /usr/lib64 Code:
-rw-r--r-- 1 root root 118602 Mar 19 2012 libz.a My slackware is 64bits, can someone tell me which packet should I install in order to be able to start the applications? |
Try running a quick ldconfig to rebuild your links. Usually almost all libraries are backwards compatible and links are created to the various different arch /lib/ folders. This library comes from zlib, so you can also try and do an upgrade/re-install on your zlib and see if that resolves the issue.
|
skype is a 32 bit application, so you will need to go multilib, see here on SlackDocs.
|
Quote:
Quote:
Code:
root@Slackware:/home/adri# slocate libz.so ldd shows this: Code:
root@Slackware:/home/adri# ldd /usr/lib64/libz.so EDIT: Didier Spaier is right, Skype is 32 bits, I didn't think about that, sorry. |
Yes, my answer is not correct for Slack as I often forget that 0 reply threads show up from Slack forums heh. With rhel or debian the steps would have been correct to look at library links.
For instance, a rhel system with just a simple "yum intall zlib": /usr/lib/libz.so.1 /usr/lib/libz.so.1.2.3 /usr/lib64/libz.so.1 /usr/lib64/libz.so.1.2.3 Follow Didier steps. Ignore mine. Although once you make Slack multi-lib you will have an understanding of how yum and the other systems do it for you which is 100 times better. |
Thank you guys for your answers but my slack is multilib. I the beginning I have the same links in /usr/lib as /usr/lib64. But I deleted by mistake two of them : (.
The packets I have installed are 64 bits. You can see the output bellow: Code:
root@slackbox:/usr/lib64# ls -la /usr/lib/libz* |
Quote:
so I has slocate libz.so.1 /usr/lib64/libz.so.1 /usr/lib64/libz.so.1.2.6 /usr/share/skype/lib32/libz.so.1 /usr/share/skype/lib32/libz.so.1.2.6 /lib64/libz.so.1.2.6 /lib64/libz.so.1 |
Quote:
|
Quote:
Code:
bash-4.2$ grep libz.so.1 /var/log/{packages,scripts}/* A thorough check of your hard disk is recommended. If it's in really bad shape, better replace it. Also, if you can't solve easily your missing libraries problem, it could be simpler to reinstall Slackware. |
The fsck of the FS shows no errors. According to me the problem is that I have no lib - libz.so.1.2.6
Code:
bash-4.2# ls -latr /usr/lib/libz.so* and then I created symlink in /usr/lib for libz.so.1 to libz.so.1.2.6 and that was the magic which I used. If someone is OK to share it with me I would be thankful. |
Hello,
Thank you to all who helped. Just want to share with you that I fixed my problem by installing 32 bits slackware on virtual machine and I sync-ed the needed libs. I said libS because not only libz was required. I think 4 or 5 libs more was required but when I transfer them my applications has started working again. |
All times are GMT -5. The time now is 09:29 AM. |