I am trying to compile / link the old piece of software very much on a Linux system, and for some reason I cannot reference the shared library installed on my system.
I get the following error from the linker:
/usr/bin/ld: cannot find -lXaw
However, lib itself is installed. If I run
ldconfig -v | grep libXaw
I get (among other things) this hit:
libXaw.so.7 -> libXaw7.so.7.0.0
The library and links to it are located in / usr / lib btw. Therefore, nothing special.
So there is a library, and ldconfig finds this. What can cause ld to not find the library during the link? As you probably already guessed, I'm completely new to the library.
Any ideas?
source share