You are not logged in.

#1 2021-11-29 13:26:51

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Exa dependencies broke

https://bugs.archlinux.org/task/72872
https://github.com/ogham/exa/issues/985

Summary and Info:
Current version of exa is 10.1-4
While upgrading the system exa dependencies where updated to need libgit2 1.3. However when running exa it would prints that it could not find the correct version of libgit2 1.2. I filed a bug at their github and was pointed to file a bug report with packaging in Arch. This is the link to the issue for more information.
Sorry if this is not the correct place to post this. If it isn't could somebody kindly point me in the right direction wink.

https://github.com/ogham/exa/issues/985
Steps to Reproduce:
sudo pacman -Syu
exa

now it should print
exa: error while loading shared libraries: libgit2.so.1.2: cannot open shared object file: No such file or directory

I do not know what wrong could somebody help me?

Offline

#2 2021-11-29 13:31:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Exa dependencies broke

Start with `type -a exa`, make sure you're running what you think you're running.

Offline

#3 2021-11-29 13:39:43

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Re: Exa dependencies broke

thx you are right I have two conflicting version of exa one install with cargo the other install with pacman and it seems that the cargo version is out of date then

exa is /home/bob/.cargo/bin/exa
exa is /usr/bin/exa

cargo update doesn't work because I do not have a Cargo.toml file
error: could not find `Cargo.toml` in `/home/bob` or any parent directory
Do you have any idea how to fix this.
I am not sure if uninstalling the cargo version that it would brick my nvim setup

Offline

#4 2021-11-29 15:30:38

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Exa dependencies broke

Is it working if you issue "/usr/bin/exa"?


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#5 2021-11-29 15:31:38

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Re: Exa dependencies broke

yes

Offline

#6 2021-11-29 15:35:22

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Exa dependencies broke

Do you happen to use an alias for exa that you forgot about?


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#7 2021-11-29 15:37:44

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Re: Exa dependencies broke

yes currently I use an alias for ls to exa and changed it to /usr/bin/exa now this works
however it isn't the best fix because I might forget that I made this fix once

Offline

#8 2021-11-29 15:58:32

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Exa dependencies broke

So "$HOME/.cargo/bin" is in your $PATH, obviously (EDIT: output of "echo $PATH"?). Do you have 'rust ' or 'rustup' installed?

Last edited by dogknowsnx (2021-11-29 16:01:30)


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#9 2021-11-29 19:48:55

xyhlon
Member
Registered: 2021-11-29
Posts: 24

Re: Exa dependencies broke

/home/bob/.local/bin:/home/bob/.local/bin:/home/bob/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/jvm/default/bin
yes cargo is in my path and no I neither have rust nor rustup installed

Offline

#10 2021-11-29 21:22:01

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Exa dependencies broke

Not sure why you (still) have cargo on your system, but I would place "/home/bob/.cargo/bin" after "/usr/bin". Maybe that'll do the trick...

Last edited by dogknowsnx (2021-11-29 21:53:24)


Notifications for Arch Linux package updates
RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

Board footer

Powered by FluxBB