Hi,

On Sat, Jan 26, 2019 at 07:41:46PM +0300, Alexandr via FreeRDP-devel wrote:
> does anyone know how to use builtin/static channels in FreeRDP ?
> 
> i have all static build of FreeRDP (with -DBUILD_SHARED_LIBS=OFF
> - -DBUILTIN_CHANNELS=ON -DSTATIC_CHANNELS=ON).
STATIC_CHANNELS is obsolete -DBUILTIN_CHANNELS=ON is
sufficient (and also the default).

> i see following:
> 
> [15~[19:37:17:926] [239670:239678] [ERROR][com.winpr.library] -
> LoadLibraryA: /usr/local/lib64/freerdp2/libcliprdr-client.so:
> невозможно открыть разделяемый объектный файл: Нет такого файла или
> каталога
> [19:37:17:927] [239670:239678] [WARN][com.freerdp.addin] - Failed to
> load channel cliprdr [(nil)]
> [19:37:17:927] [239670:239678] [ERROR][com.winpr.library] -
> LoadLibraryA: /usr/local/lib64/freerdp2/libcliprdr-client.so:
> невозможно открыть разделяемый объектный файл: Нет такого файла или
> каталога
> [19:37:17:927] [239670:239678] [WARN][com.freerdp.addin] - Failed to
> load channel cliprdr [(nil)]
May I ask what version you are working with? The error messages look
like for an older version. If built with -DBUILTIN_CHANNELS=ON all
channels are linked into libfreerdp-client2 which xfreerdp is linked
against during build time.

With the latest master (just re-tested
this) when having -DBUILD_SHARED_LIBS=OFF and -DBUILTIN_CHANNELS=ON I
don't see this error. If you built with -DBUILTIN_CHANNELS=OFF you will
need to install the channel libraries before you can run xfreerdp - that
could cause an error where the channels can't be loaded (but that
doesn't fit the cmake parameters you pasted).

Best regards,
Bernhard


_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to