First things first, uninstall that set of binaries and install one of the newer packages from LBNL’s GitHub site; the NREL packages are ancient and haven’t been supported in a long time (they weren’t supported when they were supported but that’s a convo for another time).
Head over to LBNL’s GitHub site for Radiance, where they update installers quite regularly, and have the build process for Qt-supported rvu as well-sorted as anyone:
I am using the updated Radiance from LBNL’s GitHub site but the version is not the newest. The files in the package is already compiled. So I used to unzip the tar.gz package and copy the Radiance folder to the directory /usr/local. Then the file ~/.bashrc is edited to add several environment variables as follows and then source the file. Is this installation process correct? I think several problems of commands are linked to the installation. I hope someone can provide the correct and normal installation proceducre. Thank s a lot!
The problem is either on our side, not linking to static libraries, or on your side, not having the right dynamic libraries installed. You should run the “sudo apt list” command Axel suggested and share your results. It’s our best hope of fixing the problem.
I just verified qt works with latest release on my Mac. Pretty sure I don’t have qt installed, and rvu links to the qt files that come with the build binary file. I do have to click through a many security loops (those “open anyways”) from Mac.
Also verified that on ubuntu I do need to set $LD_LIBRARY_PATH to the radiance/bin directory, where all the qt shared library files are.
This person should probably try:
echo $LD_LIBRARY_PATH. To see if it’s set and point to the /usr/local/radiance/bin folder.
call rvu by its absolute path, so we avoid any installation/file-copy mishap.
Great – I wonder why the $LD_LIBRARY_PATH was not set properly. Were there instructions you were supposed to follow, or a script that needed to be run during installation that was not? I am not familiar myself with the Linux package install process.
I have been using the frequently updated version of Radiance from LBNL’s Github site. The installation process is mentioned in that post:
I looked through the posts about installation in this community and found some useful suggestions. Besides, I also have installed the software Accelerad to accelerate the rendering. I followed its installation instructions(https://nljones.github.io/Accelerad/documentation.html) and then made similar process of Radiance. The environment variables are set in the file ~/.bashrc as follows:
However, I didn’t set the $LD_LIBRARY_PATH to the radiance/bin directory when the problem of rvu occurred!
I am not sure if the installation process is correct and I hope someone such as @Taoning_Wang1 can conclude the installation instrcutions of Radiance that is downloaded from LBNL’s Github site.