EDIT: Never mind, tried it again and it didn't happen.
I'm getting:
[1/7] Link (ld) libUE4Editor-UATHelper.so
[3/7] Relink libUE4Editor-UnrealEd.so
[2/7] Link (ld) libUE4Editor-BlueprintNativeCodeGen.so
[4/7] Link (ld) libUE4Editor-CryptoKeys.so
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
/run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-GameProjectGeneration.so: file not recognized: File format not recognized
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: /run/media/moses/1TB Disk/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUE4Editor-UATHelper.so
During compilation.
Pinned Comments
Neko-san commented on 2022-11-01 02:32 (UTC) (edited on 2023-06-25 01:19 (UTC) by Neko-san)
@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:
Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR
This is a user system problem; I already did what I could without needing users to do the above by giving the
777
permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).zerophase commented on 2021-05-27 08:15 (UTC) (edited on 2021-05-30 08:41 (UTC) by zerophase)
Will update to 5.0 when it is released.