[etherlab-users] Some Questions About The share lib libethercat.so
Philippe Leuba
pleuba at swissonline.ch
Sat Mar 31 09:33:21 CEST 2018
Hi Jackie,
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.
Philippe Leuba
> Le 31 mars 2018 à 09:09, 撒旦 <mafeiyang1995 at 163.com> a écrit :
>
> Hi! Guys,
> 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.
> After that, I tried to run the demo test program. but it failed. The error shows:
> error while loading shared libraries: libethercat.so.1: cannot open shared object file: No such file or directory.
> I have searched many solutions about this problem, but all these can't solve the problem. What should I do,Could you help me with this problem?
> The details are as follows:
> $ ./demo
> ./ectesthello1: error while loading shared libraries: libethercat.so.1: cannot open shared object file: No such file or directory
> $ 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'
> Many thanks,
> Best Regards
> Jackie Yang.
> mail:mafeiyang1995 at 163.com
>
>
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20180331/9ec93231/attachment-0004.htm>
More information about the Etherlab-users
mailing list