For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
171 5 7 8

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 512.0 KiB each and 1.0 MiB total.

@iliak

Can you please confirm that installed redhat-lsb resolved the build issue?

iliak avatar image   iliak moragodkrit.chumsri_1
yes, it solved the issue

@iliak

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS


1 Answer

· Write an 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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