I am trying to compile a program, but it causes the following error:
[cc] /usr/bin/ld: cannot find -ludev
I checked other topics on SO, but the answers should have installed something while I seem to have installed libudev.
In / lib / x86_64-linux-gnu I also have:
lrwxrwxrwx 1 root root 16 lut 19 21:30 libudev.so.1 -> libudev.so.1.3.5 -rw-r--r-- 1 root root 67600 lut 19 21:31 libudev.so.1.3.5
I tried to link libudev.so.0 with libudev.so.1 but it still does not work. What are they looking for and why is it not working? How can i solve this?
linux ld
user294034
source share