projectM-visualizer / frontend-sdl-cpp

Standalone application based on libSDL that turns your desktop audio into awesome visuals. Available on most platforms supported by both libprojectM and libSDL.
GNU General Public License v3.0
66 stars 35 forks source link

error while loading shared libraries: libPocoUtil.so.94 #70

Closed aketchum15 closed 10 months ago

aketchum15 commented 10 months ago

Recently when trying to run the program I am getting the following error:

projectMSDL: error while loading shared libraries: libPocoUtil.so.94: cannot open shared object file: No such file or directory

This has only started happening in the last couple of weeks. I am using Arch linux and both the AUR packages for libProjectm and the sdl2 frontend. I have tried installing Poco through the actual package and through the AUR poco-git package, neither changes the behavior of the program.

kblaschke commented 10 months ago

This always happens if the Poco version projectMSDL was compiled/linked against doesn't match the installed one. Poco increases the SO version on most releases, even for patch releases, as they don't really care much about ABI compatibility.

In your case, you'll need Poco version 1.12.4 - or rebuild projectMSDL with your local Poco version. Note relinking alone won't work, as Poco's API also changes between versions.

As you say it's a package from AUR, you may want to ask the maintainer to provide an updated package (or reinstall the projectm-sdl2-git package, if this is a source-built package).

aketchum15 commented 10 months ago

Thank you for the response! I was able to solve this issue by clearing my AUR helper cache and fully rebuilding the project.