I am trying to write a C program that uses dlysm, and I keep getting an undefined reference to dlysm. I think I need to set my -ldl flags but I have no idea how to do this.
I am very new to linux and setting variables. If this is what I need to do can someone help me out with the commands?