@Mnivollez you need to add every file in the unreal directory to the unreal group.
This will do it: chgrp unreal -Rf /opt/unreal-engine; chmod 775 -Rf /opt/unreal-engine/
Git Clone URL: | https://aur.archlinux.org/unreal-engine.git (read-only, click to copy) |
---|---|
Package Base: | unreal-engine |
Description: | A 3D game engine by Epic Games which can be used non-commercially for free. |
Upstream URL: | https://www.unrealengine.com/ |
Keywords: | 3D engine game ue5 Unreal |
Licenses: | GPL3, custom:UnrealEngine |
Submitter: | acerix |
Maintainer: | Shatur |
Last Packager: | Neko-san |
Votes: | 76 |
Popularity: | 0.047645 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
« First ‹ Previous 1 .. 54 55 56 57 58 59 60 61 62 63 64 .. 82 Next › Last »
@Mnivollez you need to add every file in the unreal directory to the unreal group.
This will do it: chgrp unreal -Rf /opt/unreal-engine; chmod 775 -Rf /opt/unreal-engine/
Ok, so I can see the file:
locate libUE4Editor-UnrealEd.so: /opt/unreal-engine/Engine/Binaries/Linux/libUE4Editor-UnrealEd.so /opt/unreal-engine/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Relink-libUE4Editor-UnrealEd.so.sh /opt/unreal-engine/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/libUE4Editor-UnrealEd.so.response
I got permission to read, write and execute him.
But, for unknown reason, when doing make into the project directory:
ERROR: UBT ERROR: Failed to produce item: /opt/unreal-engine/Engine/Binaries/Linux/libUE4Editor-UnrealEd.so
And then, sudo updatedb && locate libUE4Editor-UnrealEd.so:
/opt/unreal-engine/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Relink-libUE4Editor-UnrealEd.so.sh
/opt/unreal-engine/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/libUE4Editor-UnrealEd.so.response
The library seems to have disappear.
About the idea of creating a group, I know how to add a group and add myself to it, but create a group for unreal... not so much. Any hint would be appreciated.
@mnivoliez I'll need more information to help you.
When are you getting:
/opt/unreal-engine/Engine/Binaries/Linux/UE4Editor: error while loading shared libraries: libUE4Editor-UnrealEd.so: cannot open shared object file: No such file or directory
When compiling a new project?
You could try creating a group for your unreal install, and adding yourself as a group member. If it's an issue with compiling a project that should fix it.
I am confirming that the error still persist even after update. I will try to follow the official procedure describe on their guide.
Added an install script. I think it should be working correctly.
@pspkzar How would you suggest I do that? I could just rerun the GenerateProjectFiles.sh, but I believe that requires a full recompile anyways.
out of date UE4 is 4.19.2 and have many changes
Hello, since the last update, I got this error:
/opt/unreal-engine/Engine/Binaries/Linux/UE4Editor: error while loading shared libraries: libUE4Editor-UnrealEd.so: cannot open shared object file: No such file or directory
I use clang 6.0
Hi! Nice work on getting the compilation of the unreal engine 4 on archlinux. Would just like to point out that if there is is ever need to recompile some engine libs, such as when creating a new project, the instalation becomes corrupted because the project files are pointing to the directory where the package was compiled. Could you solve this by adding a post-installation routine that recreates the project files so that recompiles perform correctly? Thank you.
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.