I am trying to use strawberry music player, I ran the install and installed it via sudo pacman -S strawberry. I verified the version on pacman is the newest version from git. When I attempt to run I am having this error:
strawberry: error while loading shared libraries: libtag.so.1: cannot open shared object file: No such file or directory
So I assumed it was something missing. I ran the command
find -name libtag.so.1
Which I assume I am running correctly and it returns and empty query so lo and behold there is in fact nothing on my system with that. I am trying to install it now but I am a bit confused about shared libraries. I assume I found the website https://taglib.org/ which would have the newest version but I am unsure how to install it. Any help or other direction would be appreciated.
so i did try this as you were typing sudo pacman -Syu taglib1 which is what i copied from console so i didn’t type it wrong and I am getting > error: target not found: taglib1
Is your system in a partial-upgrade state?
I dont think so, Im more sure i probably broke something.
Maybe it was just overlooked - libtag was updated but strawberry was not.
Which follows that the old strawberry looking for old libtag that you dont have.
These packages are taken from Arch, but which ones included when seems to have missed a thing.
When you do get your update to strawberry you will probably find you no longer need this package.
Tried what was suggested above from cscs, no difference. Prior to today it was working. I had it installed from github, I downloaded and compiled it with cmake. Today on boot it didn’t work, hence the steps above. That’s why i was thinking i probably broke it. Unfortunately I do not understand a lot of the inner-workings of Linux and so how to go about troubleshooting the root cause is difficult for me.
Of course it was not updated along with all the repository packages during system update.
So … you need to update and rebuild it manually again.
The same way you did it before.
OR … get rid of that and install the repository version.
PS.
Given your previous comments such as
It would appear you have somehow evaded learning about the basics of package management on linux/manjaro. Please revise your previous way of thinking … we generally do not go to random websites and download things for our software. By and large we use the repositories. This will also handle things like dependencies (So that you dont run into situation like you did in this thread).
So before I posted this I did get rid of the strawberry version from GitHub and installed the repo version, at which point I was still having the same issue with needing libmap1. So I’m not sure what I would need to fix this at this point. It does work, the repo version, but it needs libmap1. Is there a way I can check which dependencies strawberry requires on my PC and see if it is different?
Try pacman -Si strawberry to list dependencies required by the package in the official repo. Alternatively, I think pacman -Qi strawberry lists the dependencies of an already installed package.
Edit: removed sudo from commands as per @Takakage’s post (#19)
I am embarrassed because of wasting people’s time in the first place for this but I really am still responding still because I am learning.
I check strawberry.conf under ~./config/strawberry/ There is nothing explicit about libtag1 in there. I could attempt to back up the conf file, remove the file, pacman remove and pacman install and see if it is still tries to call the file.
No need to be embarrassed - I am sure most of us have walked down the same learning path during some stage of our Linux life.
Regarding the ~./config/strawberry/ folder, just delete it (make sure Strawberry is not running when you do this). You won’t lose your music database, which should be in ~/.local/share/strawberry/. Although you may need to re-add the folders where the music is stored if the files are not in the default folder.