Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
  • Use LD_LIBRARY_PATH to 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 setcap ?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.