*Getting the below errors while compiling STABLE FREERDP 1.1*

Linking C shared library tsmf-client-ffmpeg-decoder.so
/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation
R_X86_64_32 against `ff_a64multi_encoder' can not be used when making a
shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [channels/tsmf/client/ffmpeg/tsmf-client-ffmpeg-decoder.so]
Error 1
make[1]: ***
[channels/tsmf/client/ffmpeg/CMakeFiles/tsmf-client-ffmpeg-decoder.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
[ 68%] Building C object
channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_main.c.o
[ 68%] Building C object
channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_media.c.o
Linking C shared library tsmf-client.so
[ 68%] Built target tsmf-client
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.PHX5ZK (%build)

Operating System : Centos 7

Any suggestions ?


On Fri, Apr 13, 2018 at 9:42 PM, Amarjeet Singh <amarjee...@gmail.com>
wrote:

> I am trying again..
>
> On Fri, Apr 13, 2018 at 9:40 PM, Amarjeet Singh <amarjee...@gmail.com>
> wrote:
>
>> File are there :-
>>
>> /usr/lib64/libfreerdp-cache.so.1.1
>>> /usr/lib64/libfreerdp-cache.so.1.1.0
>>> /usr/lib64/libfreerdp-client.so.1.1
>>> /usr/lib64/libfreerdp-client.so.1.1.0
>>> /usr/lib64/libfreerdp-codec.so.1.1
>>> /usr/lib64/libfreerdp-codec.so.1.1.0
>>> /usr/lib64/libfreerdp-common.so.1.1.0
>>> /usr/lib64/libfreerdp-common.so.1.1.0-beta1
>>> /usr/lib64/libfreerdp-core.so.1.1
>>> /usr/lib64/libfreerdp-core.so.1.1.0
>>> /usr/lib64/libfreerdp-crypto.so.1.1
>>> /usr/lib64/libfreerdp-crypto.so.1.1.0
>>> /usr/lib64/libfreerdp-gdi.so.1.1
>>> /usr/lib64/libfreerdp-gdi.so.1.1.0
>>> /usr/lib64/libfreerdp-locale.so.1.1
>>> /usr/lib64/libfreerdp-locale.so.1.1.0
>>> /usr/lib64/libfreerdp-primitives.so.1.1
>>> /usr/lib64/libfreerdp-primitives.so.1.1.0
>>> /usr/lib64/libfreerdp-rail.so.1.1
>>> /usr/lib64/libfreerdp-rail.so.1.1.0
>>> /usr/lib64/libfreerdp-utils.so.1.1
>>
>>
>>
>> but 1.0 is not there it's 1.1
>>
>> On Fri, Apr 13, 2018 at 9:33 PM, Amarjeet Singh <amarjee...@gmail.com>
>> wrote:
>>
>>> I tried the above but still same
>>>
>>> /usr/local/lib/libguac-client-rdp.so:
>>>         linux-vdso.so.1 =>  (0x00007ffd0fd8b000)
>>>         libfreerdp-core.so.1.0 => not found
>>>         libfreerdp-cache.so.1.0 => not found
>>>         libfreerdp-channels.so.1.0 => not found
>>>         libfreerdp-utils.so.1.0 => not found
>>>         libfreerdp-codec.so.1.0 => not found
>>>         libssh2.so.1 => /lib64/libssh2.so.1 (0x00007fe5ebb4c000)
>>>         libssl.so.10 => /lib64/libssl.so.10 (0x00007fe5eb8da000)
>>>         libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fe5eb478000)
>>>         libguac.so.12 => /usr/local/lib/libguac.so.12
>>> (0x00007fe5eb265000)
>>>         libcairo.so.2 => /lib64/libcairo.so.2 (0x00007fe5eaf3d000)
>>>         libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00
>>>
>>> On Fri, Apr 13, 2018 at 9:25 PM, McRoy, Jeffrey (GE Healthcare) <
>>> jeffrey.mc...@ge.com> wrote:
>>>
>>>> Hi Amarjeet,
>>>>
>>>>
>>>>
>>>> Build FreeRDP Stable 1.1
>>>>
>>>> https://github.com/FreeRDP/FreeRDP/tree/stable-1.1
>>>>
>>>> https://github.com/FreeRDP/FreeRDP/wiki/Compilation
>>>>
>>>> yum -y install cmake (building freerdp stable 1.1)
>>>>
>>>>
>>>>
>>>> If RDP fails to be found by Guac configure - FreeRDP libraries missing
>>>> fix
>>>>
>>>> The problem is not that it can't find the libguac-client-rdp.so, it's
>>>> that it can't find
>>>>
>>>> the freerdp libs. So try to run ldd on the
>>>> /usr/local/lib/libguac-client-rdp.so, and it
>>>>
>>>> should have some that is not found, look for those files, and then add
>>>> them into /etc/ld.so.conf.
>>>>
>>>> Add:
>>>>
>>>> /usr/local/lib64
>>>>
>>>> /usr/local/lib
>>>>
>>>> /usr/local/lib/freerdp
>>>>
>>>> And then run ldconfig, it works after this.
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Jeff
>>>>
>>>>
>>>>
>>>> *From: *Amarjeet Singh <amarjee...@gmail.com>
>>>> *Reply-To: *"user@guacamole.apache.org" <user@guacamole.apache.org>
>>>> *Date: *Friday, April 13, 2018 at 6:57 AM
>>>> *To: *"user@guacamole.apache.org" <user@guacamole.apache.org>
>>>> *Subject: *EXT: Preconnection PDU (Hyper-V) support in Guacamole
>>>>
>>>>
>>>>
>>>> Hi Team,
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I am trying to connect to VM using Hyper-V
>>>>
>>>>
>>>>
>>>> Below is the configurations I have used :-
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> <protocol>rdp</protocol>
>>>>
>>>> <param name="port">2179</param>
>>>>
>>>> <param name="preconnection-blob">e59b4540-d759-4628-b449-d3791985fc
>>>> 8e</param>
>>>>
>>>> <param name="ignore-cert">true</param>
>>>>
>>>> <param name="security">any</param>
>>>>
>>>> <param name="hostname">172.16.0.20</param>
>>>>
>>>> <param name="domain">localhost</param>
>>>>
>>>> <param name="username">administrator</param>
>>>>
>>>> <param name="password">xyz@123</param>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Below are the logs of guacd :-
>>>>
>>>>
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16308]: Creating new client for
>>>> protocol "rdp"
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16308]: Connection ID is
>>>> "$f459de5a-aba4-41a7-b193-591f3b19f4e2"
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16320]: Security mode: ANY
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16320]: Installed version of FreeRDP
>>>> lacks support for the preconnection PDU. The specified preconnection BLOB
>>>> and/or ID will be ignored.
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16320]: Resize method: none
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16320]: User
>>>> "@632a8d61-a110-4e7e-8726-d831bae796d3" joined connection
>>>> "$f459de5a-aba4-41a7-b193-591f3b19f4e2" (1 users now present)
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16320]: Loading keymap "base"
>>>>
>>>> Apr  9 03:03:52 localhost guacd[16320]: Loading keymap "en-us-qwerty"
>>>>
>>>>
>>>>
>>>> FreeRDP version installed is : 1.0.2
>>>>
>>>> Guacamole-Client and Guacamole-Server : Latest version from GIT
>>>>
>>>>
>>>>
>>>> *which version of FreeRDP I have to install which is also supported by
>>>> Guacamole in order to  resolve the above  and use this feature. *?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thanks and Regards,
>>>>
>>>> Amarjeet Singh
>>>>
>>>
>>>
>>
>

Reply via email to