On 05/12/12 00:25, Kevin Dalley wrote: > I tried using CMAKE_INSTALL_PREFIX, but xfreerdp does not know about the > existence > of the installed shared libraries. I read the CMAKE documentation on RPATH > and CMAKE_INSTALL_PREFIX. > http://www.cmake.org/cmake/help/v2.8.8/cmake.html#variable:CMAKE_INSTALL_PREFIX > > http://www.vtk.org/Wiki/CMake_RPATH_handling > > but I can't figure out how to make it work. > > I am using the stable-1.0 branch at present. > > > cmake -DCMAKE_INSTALL_PREFIX=/home/kevin > make clean; make VERBOSE=1; make VERBOSE=1 install > ldd ~/bin/xfreerdp > linux-vdso.so.1 => (0x00007fff887ff000) > libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 > (0x00007ffef57b1000) > libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 > (0x00007ffef559f000) > libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 > (0x00007ffef5393000) > libXv.so.1 => /usr/lib/x86_64-linux-gnu/libXv.so.1 (0x00007ffef518d000) > libfreerdp-core.so.1.0 => not found > libfreerdp-gdi.so.1.0 => not found
After running make install, you have to run: sudo ldconfig on linux, to update your system path to libraries, otherwise the system is not aware that libfreerdp-....so.1.0 have been installed (in /usr/local/lib usually) see http://www.cmake.org/pipermail/cmake/2007-February/013032.html NB: I'm not sure why it hasn't been fixed by cmake people but I'm not even sure they consider this as a bug Alexis ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel