I'm trying to run a program with two requirements:
- Be able to have raw access to the network adapter to implement an EtherCAT master using SOEM
LD_LIBRARY_PATHto load dynamic libraries
I found I should use the 'setcap' to set the
cap_net_raw capability in order to run the EtherCAT master, but then my problem is that the
LD_LIBRARY_PATH is ignored by
glibcas explained in this StackOverflow answer.
Is there any way to get raw newtork access without using