_ROOT Version: 6.14.04
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: *** [bin/root] Error 1
gmake: *** [rootx/CMakeFiles/root.dir/all] Error 2
gmake: *** [all] Error 2 ```
Environment variable in my bash_profile:
*Before the errors I got this warning: "gmake: 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.
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,
/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
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.