0

I'm running Manjaro Linux and upon running the ls command or any variation of it with flags I get the error:

exa: error while loading shared libraries: libgit2.so.1.1: cannot open shared object file: No such file or directory

I haven't been able to find any one with this issue online, or any solutions. Let me know if you need anymore information. Thanks.

-Linkio

1 Answer 1

4

I don’t know Manjoro Linux. I guess a good start is to type /bin/ls. If it works, this seems that ls is aliases to exa -l. The type ls command shows you if ls is aliased. Aliased are typically defined in .profile or .bashrc.

2
  • I ran /bin/ls and that gave a normal output, so I went into the .bashrc file and changed the alias to alias ls=-'/bin/ls', but even after that when I run the ls command I still get the same error. Commented Oct 9, 2021 at 16:49
  • alias ls=-'/bin/ls' or alias ls='/bin/ls' (The minus char removed). Note that the normal way to unalias is unalias ls. Commented Oct 9, 2021 at 17:11

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.