Error building lighting, it exports everything fine but running UnrealLightmass fails with this message. This is the latest from github.
/mnt/store/UnrealEngine/release/Engine/Binaries/Linux/UnrealLightmass: error while loading shared libraries: libUnrealLightmass-Serialization.so: cannot open shared object file: No such file or directory
UnrealLightmass can not find the missing lib
Engine/Binaries/Linux $ ldd UnrealLightmass | grep not
libUnrealLightmass-Serialization.so => not found
But it is locatedi in the same folder as UE4Editor and UnrealLightmass
Engine/Binaries/Linux $ ls libUnrealLightmass-* | grep Serial
libUnrealLightmass-Serialization.so
libUnrealLightmass-Serialization.so RUNPATH
Engine/Binaries/Linux $ readelf --dynamic libUnrealLightmass-Serialization.so | grep PATH
0x000000000000001d (RUNPATH) Library runpath: [${ORIGIN}:${ORIGIN}/../../../Engine/Binaries/Linux:${ORIGIN}/..:${ORIGIN}/../../../Engine/Binaries/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu:${ORIGIN}/../../../Engine/Binaries/ThirdParty/LinuxNativeDialogs/Linux/x86_64-unknown-linux-gnu]
UnrealLightmass RUNPATH
Engine/Binaries/Linux $ readelf --dynamic UnrealLightmass | grep PATH
0x000000000000001d (RUNPATH) Library runpath: [${ORIGIN}:${ORIGIN}/../../../Engine/Binaries/Linux:${ORIGIN}/..:${ORIGIN}/../../../Engine/Binaries/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu:${ORIGIN}/../../../Engine/Binaries/ThirdParty/LinuxNativeDialogs/Linux/x86_64-unknown-linux-gnu:${ORIGIN}/../../Plugins/Messaging/UdpMessaging/Binaries/Linux]
UE4Editor RUNPATH
Engine/Binaries/Linux $ readelf --dynamic UE4Editor | grep PATH
0x000000000000001d (RUNPATH) Library runpath: [${ORIGIN}:${ORIGIN}/../../../Engine/Binaries/Linux:${ORIGIN}/..:${ORIGIN}/../../../Engine/Binaries/ThirdParty/ICU/icu4c-53_1/Linux/x86_64-unknown-linux-gnu:${ORIGIN}/../../../Engine/Binaries/ThirdParty/LinuxNativeDialogs/Linux/x86_64-unknown-linux-gnu]
Have to start the editor with
LD_LIBRARY_PATH=":.:" ./UE4Editor "/path/to/Unreal Projects/SomeProject/SomeProject.uproject"
in-order to rebuild lighting “/path/to/Unreal Projects/SomeProject/SomeProject.uproject” being the direct path to your projects uproject file, else if your loaded the project from the project browser and the editor restarts you may not get the system var override passed onto the next UE4Editor process.