Using shared Librarys under Rasbian/Debian

Hey everyone.
I got an raspberry pi and enthusiasm in crypto trading.

So i want to use the BINANCE API provided here: https://github.com/tensaix2j/binacpp

to create analyzing tools.

Only problem i cannot get the api to work. code::blocks does not recognize the .so library.

in the readme is wirtten
And export LD_LIBRARY_PATH and run like this:

libcurl_dir=../lib/libcurl-7.56.0
libcurl_lib=${libcurl_dir}/lib

libwebsockets_dir=../lib/libwebsockets-2.4.0
libwebsockets_lib=${libwebsockets_dir}/lib

libbinacpp_dir=../lib/libbinacpp
libbinacpp_lib=${libbinacpp_dir}/lib

export SSL_CERT_FILE=`pwd`/cacert.pem
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$libcurl_lib:$libwebsockets_lib:$libbinacpp_lib

./example


I'm pretty new to this whole linux/coding universe so i don't understand it but i know LD_LIBRARY_PATH got something to do with the shared objects.

Can u please help me i am working on this for 3 weeks and not getting anywhere please help me

I tried to run make myself to get a new compiled version of the shared object but the cpp file got some errors due to a new version. a function is ambiguos so i cannot compile it without changing the code myself and i am not certain that i am capeable of doing so.
Last edited on
What error do you get?
Topic archived. No new replies allowed.