You are not logged in.

#1 2024-03-08 06:17:33

drdoom
Member
Registered: 2024-03-08
Posts: 9

error while loading shared librarires when launching app [SOLVED]

Hi there I installed nemo (file browser) on my system and observed it running

i did some various installing/configuration as this is a new system and so when i tried to use nemo again it gave this error:

```
nemo: errow while loading shared libraries: /usr/lib/libcinnamon-desktop.so.4: file too short
```

i tried uninstalling/reinstalling but no luck it always comes up with this error when i try to start nemo

Last edited by drdoom (2024-03-08 18:26:49)

Offline

#2 2024-03-08 07:59:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: error while loading shared librarires when launching app [SOLVED]

You tried uninstalling/reinstalling....what? Reinstalling the library should do the trick.

Offline

#3 2024-03-08 17:25:16

drdoom
Member
Registered: 2024-03-08
Posts: 9

Re: error while loading shared librarires when launching app [SOLVED]

Scimmia wrote:

You tried uninstalling/reinstalling....what? Reinstalling the library should do the trick.

Tried uninstalling/reinstalling nemo

There is no package libcinnamon-desktop ( and I am not trying to run Cinnammon so will avoid installing cinnamon package; I just want nemo )

Offline

#4 2024-03-08 17:30:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: error while loading shared librarires when launching app [SOLVED]

Use pacman -Qo or pacman -F to figure out what package that file comes from.

Offline

#5 2024-03-08 17:57:51

drdoom
Member
Registered: 2024-03-08
Posts: 9

Re: error while loading shared librarires when launching app [SOLVED]

thx I ran that and the output is:

pacman -Qo libcinnamon-desktop
error: No package owns libcinnamon-desktop

When uninstalling nemo I noticed it was skipping over several 0 byte files in my /usr/share/glib-2.0 directory so I removed them and the uninstall output no longer complains about them. 
But when i start nemo just getting:

nemo
nemo: error while loading shared libraries: libcinnamon-desktop.so.4: cannot open shared object file: No such file or directory

I think the zero byte files were result of an installation that got interrupted due to a system freeze.  I'm on a new laptop with an nvidia GPU and was running noveou for a while and it was causing the system to freeze-up frequently requiring powerdowns sometimes; I remember at least once during a package installation so this is probably where/why things got messed up.   Hopefully can restore/repair any libs with missing files without having to reinstall entire OS

Last edited by drdoom (2024-03-08 18:01:44)

Offline

#6 2024-03-08 18:00:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: error while loading shared librarires when launching app [SOLVED]

libcinnamon-desktop is not the name of the zero-length (or now missing) file, it's libcinnamon-dekstop.so.4:

~)
$ pacman -F libcinnamon-desktop.so.4
extra/cinnamon-desktop 5.8.0-1
    usr/lib/libcinnamon-desktop.so.4

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#7 2024-03-08 18:16:45

drdoom
Member
Registered: 2024-03-08
Posts: 9

Re: error while loading shared librarires when launching app [SOLVED]

Trilby wrote:

libcinnamon-desktop is not the name of the zero-length (or now missing) file, it's libcinnamon-dekstop.so.4

right thanks i re-ran the commands with the full name and am able to uncover some more missing/zero-byte files in /usr/include, /usr/share, etc
just manually removing them rn

Offline

#8 2024-03-08 18:22:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: error while loading shared librarires when launching app [SOLVED]

You don't manually remove 0-byte files, you reinstall them

Offline

#9 2024-03-08 18:26:18

drdoom
Member
Registered: 2024-03-08
Posts: 9

Re: error while loading shared librarires when launching app [SOLVED]

ok good point - i was making some headway but there are just too many zero byte files littered in /usr
so ya im gunna throw in the towel on this one and re-install the OS; no biggie
i will definitely add nomodeset to grub first thing before installing any packages so there are no freezes/corruptions like this again and should be good
thx for the help!

Offline

#10 2024-03-08 18:27:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: error while loading shared librarires when launching app [SOLVED]

Just reinstall all packages. Command should be in the wiki, pacman tips and tricks IIRC

Offline

Board footer

Powered by FluxBB