<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi! Guys£¬</div><div>I have already installed the EtherCAT Master in my development board--the Zedboard of Xilinx. The master works well, I have attempted the Command line tools, it runs well.</div><div>After that, I tried to run the demo test program. but it failed. The error shows:</div><div>error while loading shared libraries: libethercat.so.1: cannot open shared object file: No such file or directory.</div><div>I have searched many solutions about this problem, but all these can't solve the problem. What should I do,<span style="font-family: arial; white-space: pre-wrap;">Could you help me with this problem?</span></div><div><span style="font-family: arial; white-space: pre-wrap;">The details are as follows:</span></div><div><pre style="box-sizing: border-box; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 13px; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; border: 1px solid rgb(204, 204, 204); border-radius: 4px; widows: 1; background-color: rgb(245, 245, 245);"><code class="prettyprint" style="box-sizing: border-box; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: inherit; padding: 0px; color: inherit; border-radius: 0px; background-color: transparent;">$ ./demo
./ectesthello1: error while loading shared libraries: libethercat.so.1: cannot open shared object file: No such file or directory</code></pre><pre style="box-sizing: border-box; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 13px; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; border: 1px solid rgb(204, 204, 204); border-radius: 4px; widows: 1; background-color: rgb(245, 245, 245);"><code class="prettyprint" style="box-sizing: border-box; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: inherit; padding: 0px; color: inherit; border-radius: 0px; background-color: transparent;">$ ldd demo
libethercat.so.1 => not found
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e7d000)
/lib/ld-linux-armhf.so.3 (0x7f5d5000)
$ file ./demo
./ectesthello1: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=b96348b42ca3108234cb1389878043f184477d94, not stripped
$ readelf -l demo
[Requesting program interpreter: /lib/ld-linux-armhf.so.3
$ file /lib/libethercat.so.1
/lib/libethercat.so.1: symbolic link to `libethercat.so.1.0.0'
$ file /lib/ld-linux-armhf.so.3
/lib/ld-linux-armhf.so.3: symbolic link to `arm-linux-gnueabihf/ld-2.19.so'</code></pre><pre style="box-sizing: border-box; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 13px; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; border: 1px solid rgb(204, 204, 204); border-radius: 4px; widows: 1; background-color: rgb(245, 245, 245);">Many thanks, </pre><pre style="box-sizing: border-box; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 13px; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; border: 1px solid rgb(204, 204, 204); border-radius: 4px; widows: 1; background-color: rgb(245, 245, 245);"><pre style="color: rgb(0, 0, 0); widows: 2;">Best Regards</pre><pre style="color: rgb(0, 0, 0); widows: 2;">Jackie Yang.</pre><pre style="color: rgb(0, 0, 0); widows: 2;">mail:mafeiyang1995@163.com</pre></pre></div></div><br><br><span title="neteasefooter"><p> </p></span>