[GRASS-dev] nviz compilation problem

Helena Mitasova hmitaso at unity.ncsu.edu
Tue Jun 26 11:06:50 EDT 2007


I have compiled the CVS GRASS63 on a new 64bit computer with nvidia  
graphics card running
RedHat Enterprise Linux. Everything compiled successfully except for  
nviz that has some troubles with
shared GL libraries.
I have seen others with similar problems (I had it on another machine  
too ) mostly due to broken symlink,
but that does not seem to be the case here:

Errors in:
/local/home/helena/grassdev/grass6/lib/ogsf
/local/home/helena/grassdev/grass6/visualization/nviz

(cd /local/home/helena/grassdev/grass6/dist.x86_64-unknown-linux-gnu/ 
lib; ln -f -s libgrass_ogsf.6.3.cvs.so /local/home/helena/grassdev/ 
grass6/dist.x86_64-unknown-linux-gnu/lib/libgrass_ogsf.so)
/usr/bin/ld: /usr/X11R6/lib64/libGL.a(glapi.o): relocation  
R_X86_64_32 against `a local symbol' can not be used when making a  
shared object; recompile with -fPIC
/usr/X11R6/lib64/libGL.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [/local/home/helena/grassdev/grass6/dist.x86_64-unknown- 
linux-gnu/lib/libgrass_ogsf.6.3.cvs.so] Error 1

what to recompile with -fPIC? if that is really the problem?

thanks a lot for any hints,

Helena





More information about the grass-dev mailing list