question

Upvotes
Accepted
171 3 3 4

fail to compile on centos 7

i have latest centos 7 gcc 7.4.0 makefile 3.14.2

this is the steps i took to install

cd /tmp git clone https://github.com/Refinitiv/Elektron-SDK.git

cmake -H/tmp/Elektron-SDK -B/tmp/Elektron-SDK-release

cd /tmp/Elektron-SDK-release

 make <gives error>


Scanning dependencies of target authlock [ 27%] Building C object Cpp-C/Eta/Applications/Examples/AuthLock/CMakeFiles/authlock.dir/rsslAuthLock.c.o make[2]: *** No rule to make target `RTSDK-BinaryPack_dacs_LIBRARY-NOTFOUND', needed by `/tmp/Elektron-SDK/Cpp-C/Eta/Executables/LIN5_64_GCC485/Optimized/authlock'. Stop. make[1]: *** [Cpp-C/Eta/Applications/Examples/AuthLock/CMakeFiles/authlock.dir/all] Error 2 make: *** [all] Error 2 
elektronrefinitiv-realtimeelektron-sdkmrncentoscompile
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
7.6k 15 6 9

@iliak

From the path LIN5_64_GCC485 it looks like you did not install redhat-lsb on the CentOS.


Can you please verify if you are building with lsb_release installed?

Please install redhat-lsb before running cmake and the make command.

sudo yum install redhat-lsb

I just tried your commands on a newly created CentOS7 on my cloud this morning.

I just install development tools and then install the openssl-devel with redhat-lsb.

sudo yum install openssl-devel
sudo yum install redhat-lsb


I can use your command to run cmake and run make to build ESDK without any error.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea