On Tue, Mar 1, 2016 at 9:06 AM, Aaron Boxer <boxe...@gmail.com> wrote:
> Hello! > I have a CMAKE project that creates an executable that links with a static > lib > from a second CMAKE project. The static lib requires the dlopen and dlclose > symbols. > > So, when I link the first project, I add ${CMAKE_DL_LIBS} to the CMake > file. > > However, I still get an error about "undefined reference to symbol > "dlclose...." > The error states: "missing DSO from command line" Also, the second CMAKE project also contains executables that link with the static library, and they link with no problem.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake