[etherlab-users] Problem with including /lib folder

Andreas Stewering-Bone Andreas.Stewering-Bone at gmx.de
Thu Sep 16 16:08:35 CEST 2010


Hello Juri,


you have to add /opt/etherlab/lib to your ldconfig

or you compile with

-Wl,--rpath -Wl,/opt/etherlab/lib -L/opt/etherlab/lib -lethercat

to add a preload searchpath in the executeable.

Greatings 

Andreas

Am Thursday 16 September 2010 11:30:07 schrieb Juri Gerke:
> Hi Andreas,
>
> thanks for the fast reply. I tried it with user/main.c but it don`t work.
> The compilation didn`t send any outputs on screen and built the executable
> file. When starting it with ./executable, the following error message
> appears: error while loading shared libraries: libethercat.so.1: cannot
> open shared object file: No such file or directory ;
>
> Kind regards
>
> Juri Gerke





More information about the Etherlab-users mailing list