After recently building media-sound/cantata-2.3.3, it no longer launches due to: cantata: error while loading shared libraries: libsolidlite.so: cannot open shared object file: No such file or directory libsolidlite.so is an internal cantata library, but it is not being installed. It should either be linked statically or installed (I assume the former was intended, as there is no "install()" command for it in the CMake files). I have found the following in the 3rdparty/solid-lite/CMakeLists.txt file: add_library(solidlite ${solidlite_LIB_SRCS}) Usually, there should be a SHARED or STATIC constant signifying the type of the library we want to build. However, it is ommited here. From the documentation [1]: If no type is given explicitly the type is STATIC or SHARED based on whether the current value of the variable BUILD_SHARED_LIBS is ON. It looks like the default value of BUILD_SHARED_LIBS has changed recently [2]. I am using cmake version 3.13.4. [1] https://cmake.org/cmake/help/v3.14/command/add_library.html [2] https://archives.gentoo.org/gentoo-dev/message/8fd670ee2f38ce8fac699b01c9471c29
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564cb54b235260ec1550e33bc2e4750cafc2226f commit 564cb54b235260ec1550e33bc2e4750cafc2226f Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-02-17 16:11:25 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-02-17 16:12:59 +0000 media-sound/cantata: Fix bundled solid-lite static linking Thanks-to: Bigos <wielkiegie@gmail.com> Closes: https://bugs.gentoo.org/678228 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-sound/cantata/cantata-2.3.3-r1.ebuild | 122 +++++++++++++++++++++ .../files/cantata-2.3.3-solidlite-static.patch | 29 +++++ 2 files changed, 151 insertions(+)