Errors when building ROOT


_ROOT Version: 6.14.04
_Platform: ubuntu
_Compiler:


Hey,

I am trying to build root, but when it’s almost done I get these errors:

/usr/lib64/libSM.so: undefined reference to `uuid_unparse_lower@UUID_1.0'
/usr/lib64/libSM.so: undefined reference to `uuid_generate@UUID_1.0'
collect2: error: ld returned 1 exit status
gmake[2]: *** [bin/root] Error 1
gmake[1]: *** [rootx/CMakeFiles/root.dir/all] Error 2
gmake: *** [all] Error 2 ```

Environment variable in my bash_profile:
export LD_LIBRARY_PATH=/lib

*Before the errors I got this warning: "gmake[2]: Warning: File `rootx/CMakeFiles/root.dir/depend.make' has modification time 0.0002 s in the future"


I am pretty new with ROOT. Would appreciate any help with these errors.

Sincerely,
Kayshla

Please remove the export LD_LIBRARY_PATH=/lib from your bashrc, that can break your system if you are on a 64bit environment and libraries are in /lib64 instead. Usually, /lib and /usr/lib are for 32bit libraries on those systems. The problem does not seem to be in ROOT, but with the libSM.so library. Try to install uuid-dev with sudo apt-get install uuid-dev and see if the problem goes away. Cheers,

Is there another way to install uuid-dev? I don’t have permission to use sudo commands.

I’m not sure, since it’s in part tied to the kernel. Please let your system admin know of the problem, since it’s a problem with a system library (/usr/lib64/libSM.so). Maybe they can help you get this fixed. Cheers,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.