it is an as-needed problem, cmake adds dependencies transitive, so it
ends up with libprojectM.so ends up linking with libRenderer.a in the
wrong order on the commend line.
This patch works around this issue fir libprojectM.so but the same
problem exists for libprojectM-qt.so
check the libraries with ldd -r to ensure you fixed it correctly.
--- projectm-2.0.1+dfsg.orig/src/libprojectM/CMakeLists.txt
+++ projectm-2.0.1+dfsg/src/libprojectM/CMakeLists.txt
@@ -189,7 +189,7 @@ if(BUILD_PROJECTM_STATIC)
TARGET_LINK_LIBRARIES(projectM ${GLEW_LINK_TARGETS} m
${FTGL_LINK_TARGETS} ${OPENGL_LIBRARIES} ${IMAGE_L
INK_TARGETS} ${CG_LINK_TARGETS} ${PRESET_FACTORY_LINK_TARGETS})
else(BUILD_PROJECTM_STATIC)
-TARGET_LINK_LIBRARIES(projectM ${GLEW_LINK_TARGETS} m ${FTGL_LINK_TARGETS}
${OPENGL_LIBRARIES} ${IMAGE_LINK_TARGETS} $
{CG_LINK_TARGETS} ${PRESET_FACTORY_LINK_TARGETS})
+TARGET_LINK_LIBRARIES(projectM Renderer ${GLEW_LINK_TARGETS} m dl
${FTGL_LINK_TARGETS} ${OPENGL_LIBRARIES} ${IMAGE_LIN
K_TARGETS} ${CG_LINK_TARGETS} ${PRESET_FACTORY_LINK_TARGETS})
endif(BUILD_PROJECTM_STATIC)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/819025
Title:
clementine FTBFS due to wrong linking glew in projectm
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/projectm/+bug/819025/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs