<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Hi Jackie,</div><div><br></div><div>It seems that the library is not in the search path, edit /etc/ld.so.conf to check if it contains the /lib folder and run ldconfig. </div><div><br></div><div>Philippe Leuba</div><div><br>Le 31 mars 2018 à 09:09, 撒旦 <<a href="mailto:mafeiyang1995@163.com">mafeiyang1995@163.com</a>> a écrit :<br><br></div><blockquote type="cite"><div><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:<a href="mailto:mafeiyang1995@163.com">mafeiyang1995@163.com</a></pre></pre></div></div><br><br><span title="neteasefooter"><p> </p></span></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>etherlab-users mailing list</span><br><span><a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a></span><br><span><a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a></span><br></div></blockquote></body></html>