<div dir="ltr">Make sure you're trying to link against the ARM version of libssl. You might need to look at the OPENSSL_LIBRARIES (or something like that) CMake variable and adjust it to point at the correct libssl.<div>
<br></div><div>-Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 12:07 PM, Roberto Pagliari <span dir="ltr"><<a href="mailto:roberto@canary.is" target="_blank">roberto@canary.is</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm building rabbitmq-c for ARM. I exported the library by running : </div><div><br></div><div>
export LD_LIBRARY_PATH=path_to_library_folder </div><div><br></div><div>but I'm still getting this error. Somehow, cmake does not find it. </div>
<div><br></div><div> $ cmake --build . --target install</div><div> Linking C shared library librabbitmq.so</div><div> /usr/lib/x86_64-linux-gnu/libssl.so: file not recognized: File format not recognized</div><div>
collect2: ld returned 1 exit status</div><div> make[2]: *** [librabbitmq/librabbitmq.so.1.1.1] Error 1</div><div> make[1]: *** [librabbitmq/CMakeFiles/rabbitmq.dir/all] Error 2</div><div> make: *** [all] Error 2</div>
<div><br></div><div>I tried to use LINK_LIBRARIES in the CMakeLists but didn't work...</div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>