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, 撒旦 <[email protected]> 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:[email protected] > > > > > _______________________________________________ > etherlab-users mailing list > [email protected] > http://lists.etherlab.org/mailman/listinfo/etherlab-users
_______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
