Most likely solution: missing the "-ldl" link lib which should solve your missing symbol issues. <div><br></div><div>The DSO error is most likely caused by the above.<span></span> However, there could be a problem with your linking order. I'd have to see the CMake file to be sure. </div><div><br></div><div>Caleb<br><br>On Tuesday, March 1, 2016, Aaron Boxer <<a href="mailto:boxerab@gmail.com">boxerab@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 9:06 AM, Aaron Boxer <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','boxerab@gmail.com');" target="_blank">boxerab@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello!<br></div>I have a CMAKE project that creates an executable that links with a static lib<br></div><div>from a second CMAKE project. The static lib requires the dlopen and dlclose<br></div><div>symbols.<br><br></div><div>So, when I link the first project, I add ${CMAKE_DL_LIBS} to the CMake file.<br><br></div><div>However, I still get an error about "undefined reference to symbol "dlclose...."<br></div></div></blockquote><div><br></div><div>The error states: "missing DSO from command line"<br><br></div><div>Also, the second CMAKE project also contains executables that link with the static<br></div><div>library, and they link with no problem.<br><br><br></div><div> <br></div></div><br></div></div>
</blockquote></div><br><br>-- <br>Sent from my iPhone 4s<br>