l********r 发帖数: 187 | 1 after i upgrade to RH9.0, ld has problem in link glut programs. it can't find several X functions reference. When i add -lX11 to the gcc command line, it reports lib X11 does not exist. then i check /etc/ld.so.conf, the directory /usr/X11R6/lib is
included there. I don't understand why ld does not look into /etc/ld.so.conf file to searh for the libraries. Someone told me that the path is hardcoded. Very strange!!! |
|