Click to See Complete Forum and Search --> : compiling error


tonk
12-26-1999, 03:06 AM
I tried to compile this program -- TrueReality N64 emulator -- and make gave me this error:

/usr/bin/ld: cannot open -lXext: No such file or directory

I understand that this means ld can't find libXext in its default library path, and I found that libXext.* exists in /usr/X11R6/lib

My question is:
How do I add this directory into ld's default library path without making changes in the Makefile ? ( I know adding -Llib_directory will do the trick but I know little about Makefile ... dont want to cause further problems ) ... modifying an .rc file for ld, perhaps?

Any help is appreciated.



------------------
--
Does anyone know why the meaning of life is 42?

Harvey
11-05-2000, 03:27 AM
Did you ever get this figured out?
Having the same type of problem I think..

Strike
11-05-2000, 04:55 AM
Make sure that /usr/X11R6/lib is in /etc/ld.so.conf. If it's not, add it. If it is, then run ldconfig as root and it should be able to be linked against no problem after that.