Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Compiling a program on linux.

$
0
0
Ok at first libboost was not found replacing lboost with lboost_system allowed compilation, upon running the application though, gave this error, ./Realms: error while loading shared libraries: libcpprest.so.2.1: cannot open shared object file: No such file or directory

I think I can add that to linux environment... with no success, I did:

echo $LD_LIBRARY_PATH which produced nothing so;

I added the default path $LD_LIBRARY_PATH = /usr/local/lib
then added the path to my file: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/granda/casablanca/Release/build.release/Binaries/libcpprest.so.2.1
exported it, export LD_LIBRARY_PATH

and ran the program again, ./Realms

which produced the same error about the missing file

I also checked the symlink from the libcpprest.so and it is pointing at the correct file.

Edit: I also ran ldconfig to see if it would make a difference, which it did not.

Viewing all articles
Browse latest Browse all 4845

Trending Articles