You are not logged in.

#1 2022-07-02 20:06:43

Math
Member
Registered: 2011-10-10
Posts: 40

[SOLVED] Error while loading shared libraries: libgc.so.1

I'm trying to install zramd from the AUR with paru, but I'm getting the error:

make: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory

What am I missing here?

Last edited by Math (2022-07-02 23:41:13)

Offline

#2 2022-07-02 20:10:25

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

Re: [SOLVED] Error while loading shared libraries: libgc.so.1

It's pretty self explanatory: you're missing libgc.so.1.  Use the -F flag with pacman to see what package owns that library.  Then explain how you have 'make' installed without it's dependencies.

edit: removed suspicion of partial upgrade as the info below makes that unlikely.

Last edited by Trilby (2022-07-02 20:36:42)


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

Offline

#3 2022-07-02 20:16:18

Math
Member
Registered: 2011-10-10
Posts: 40

Re: [SOLVED] Error while loading shared libraries: libgc.so.1

Trilby wrote:

It's pretty self explanatory: you're missing libgc.so.1.  Use the -F flag with pacman to see what package owns that library.  Then explain how you have 'make' installed without it's dependencies: partial upgrades?

It says;

core/gc 8.2.0-3 [installed]
usr/lib/libgc.so.1

Offline

#4 2022-07-02 20:31:54

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

Re: [SOLVED] Error while loading shared libraries: libgc.so.1

Try reinstalling that package.

Offline

#5 2022-07-02 20:32:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,561

Re: [SOLVED] Error while loading shared libraries: libgc.so.1

pacman -Qkk gc
type make
ldd /usr/bin/make
printenv | grep LD

Online

#6 2022-07-02 20:56:53

Math
Member
Registered: 2011-10-10
Posts: 40

Re: [SOLVED] Error while loading shared libraries: libgc.so.1

Scimmia wrote:

Try reinstalling that package.

Now I'm getting other errors... It was also missing libguile-2.2.so.1 before this, but I fixed it by reinstalling guile.
Think I messed up doing a pacman -Scc or something.

Since it's a new Arch install and already broke it, I think I'll just do a new install again.

Edit:
Think it actually had to do with how I had set up my btrfs partitions. It happened after switching between snapshots.
Did fresh install again, this time with the suggested filesystem layout for snapper. (was using /var/ instead of /var/log/).

Played around with several snapshots again and everything seems to be working fine now.

Solved smile

Last edited by Math (2022-07-03 07:06:14)

Offline

Board footer

Powered by FluxBB