You are not logged in.
Pages: 1
Hey, I'm having some trouble. I recently borked my system and did a reinstall. I made a list of packages before I reinstalled and after reinstalling, I intalled everything from that list. However, When I did so, I forgot to enable multilib first. Now I constantly get "libXYZ.so.I was not found, no such file or directory." Is there an easy way to fix this?
Last edited by herrflockig (2012-10-16 01:35:38)
Offline
Install pkgfile from community and test which package contains the missing .so file.
Apart from that please explain why you do not enable multilib now, although you seem to need it?
// Installiere das Programm pkgfile , und suche nach den fehlenden .so Dateien.
Ausserdem musst du bitte noch erklären warum du das multilib repository nicht einfach jetzt verwendest.
Last edited by teateawhy (2012-10-15 10:36:44)
Offline
Sorry for now clarifying, I do currently have multilib enabled. I did so as soon as I realized my mistake. After I enabled it, I followed this tutorial https://wiki.archlinux.org/index.php/Pa … d_packages. Also, how can I use pkgfile to quickly find missing stuffs from all packages?
Offline
for loop
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Alright so I wrote this little script to check for missing files in all of my packages, and nothing shows up.
#!/bin/bash
pacman -Qdq |
while read package
do
for file in $(pkgfile -l $package | cut -f2)
do
if [ ! -f $file ] && [ ! -d $file ] && [ ! -L $file ]
then
echo $file
fi
done
doneSo none of these shared libraries are actually missing. Here's a specific example: winetricks throws this error at me when I try to install vcrun2010:
err:module:load_builtin_dll failed to load .so lib for builtin L"msxml3.dll": libxml2.so.2: cannot open shared object file: No such file or directoryBut I know for a fact the libxml2.so.2 exists in /usr/lib/ and libxml2 is installed and up to date.
This is just one example this happens with several programs and with different shared object files each time. Any suggestions? Should I just reinstall again but properly this time?
Last edited by herrflockig (2012-10-15 12:13:38)
Offline
Btw: Instead of using your script, just run "pacman -Qqk"
Offline
You can use ldd to see what exactly it is trying to link to.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thanks guys! Using ldd I was able to find out that the programs that are having troubles require 32bit versions of the libraries as well. To fix winetricks I had to install lib32-libxml2. Again, thanks for all your help!
[Solved]
Offline
Pages: 1