Hi,

On Tue, Dec 04, 2012 at 03:25:05PM -0800, Kevin Dalley wrote:
> and CMAKE_INSTALL_PREFIX. 
> 
>   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
CMAKE_INSTALL_PREFIX doesn't affect the systems library search path so
libraries are only searched in the default locations.

For testing I usually install to /opt and use a script like the
following to run xfreerdp:

#!/bin/bash

CMAKE_INSTALL_PREFIX=/opt/freerdp-stable-1.0
export PATH=$PATH:${CMAKE_INSTALL_PREFIX}/bin
export LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib/x86_64-linux-gnu/
xfreerdp $@

(The lib/x86_64.. might be different on a non debian system)

Hope that helps.
Best regards,
Bernhard

------------------------------------------------------------------------------
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

Reply via email to