Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

MindConnect Lib on Raspberry Pi

Experimenter
Experimenter

Hello Community

 

I tried to compile MindConnect Lib on a Raspberry Pi. The Raspberry Pi is on a virtual machine.

I followed the instructions from here https://developer.mindsphere.io/resources/mindconnect-lib/resources-mclib-getting-started.html step by step. At the step Building Libcurl, I get some errors and I don't know how to fix.

 

/usr/bin/ld: skipping incompatible /usr/customAgentExample/build/openssl/lib/libssl.so when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/customAgentExample/build/openssl/lib/libssl.a when searching for -lssl
/usr/bin/ld: skipping incompatible /usr/customAgentExample/build/openssl/lib/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/customAgentExample/build/openssl/lib/libcrypto.a when searching for -lcrypto
../lib/.libs/libcurl.so: undefined reference to `sk_pop_free'
../lib/.libs/libcurl.so: undefined reference to `OPENSSL_add_all_algorithms_noconf'
../lib/.libs/libcurl.so: undefined reference to `sk_value'
../lib/.libs/libcurl.so: undefined reference to `SSL_load_error_strings'
../lib/.libs/libcurl.so: undefined reference to `CONF_modules_free'
../lib/.libs/libcurl.so: undefined reference to `SSLv3_client_method'
../lib/.libs/libcurl.so: undefined reference to `ERR_free_strings'
../lib/.libs/libcurl.so: undefined reference to `EVP_cleanup'
../lib/.libs/libcurl.so: undefined reference to `SSLv23_client_method'
../lib/.libs/libcurl.so: undefined reference to `sk_num'
../lib/.libs/libcurl.so: undefined reference to `SSL_library_init'
../lib/.libs/libcurl.so: undefined reference to `sk_pop'
../lib/.libs/libcurl.so: undefined reference to `SSL_COMP_free_compression_methods'
../lib/.libs/libcurl.so: undefined reference to `SSLeay'
collect2: error: ld returned 1 exit status
Makefile:775: die Regel für Ziel „curl“ scheiterte
make[2]: *** [curl] Fehler 1
make[2]: Verzeichnis „/usr/customAgentExample/curl-7.52.1/src“ wird verlassen
Makefile:1899: die Regel für Ziel „install“ scheiterte
make[1]: *** [install] Fehler 2
make[1]: Verzeichnis „/usr/customAgentExample/curl-7.52.1/src“ wird verlassen
Makefile:894: die Regel für Ziel „install-recursive“ scheiterte
make: *** [install-recursive] Fehler 1

May some one of you know how to fix this issue?

 

Regards,

sivakumm