SoftEtherVPN
SoftEtherVPN copied to clipboard
Change var of CMAKE_INSTALL_RPATH
A library problem occurred when building and installing on a RHEL-based distribution.
The cause is that even though the library is installed in the lib64 directory, the executable file looks for the lib directory. To solve this problem, I changed part of CMakeLists.txt.
This problem also occurs on Gentoo Linux.
My environment
$ cat /etc/redhat-release
MIRACLE LINUX release 9.2 (Feige)
$ uname -a
Linux localhost.localdomain 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 26 02:39:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
p.s. With the help of @nvsofts , I have solved this problem.
The question is "should this be ifdef-ed for Redhat or is it generally acceptable"?
On Fri, Apr 19, 2024, 17:59 panakuma @.***> wrote:
A library problem occurred when building and installing on a RHEL-based distribution.
The cause is that even though the library is installed in the lib64 directory, the executable file looks for the lib directory. To solve this problem, I changed part of CMakeLists.txt.
This problem also occurs on Gentoo Linux.
My environment
$ cat /etc/redhat-release MIRACLE LINUX release 9.2 (Feige) $ uname -a Linux localhost.localdomain 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 26 02:39:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
p.s. With the help of @nvsofts https://github.com/nvsofts , I have solved this problem.
You can view, comment on, or merge this pull request online at:
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1986 Commit Summary
- f8c5fa5 https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1986/commits/f8c5fa53843d0f15d6146d46f203e10bc1ac28ca Change var of CMAKE_INSTALL_RPATH
File Changes
(1 file https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1986/files)
- M CMakeLists.txt https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1986/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a (2)
Patch Links:
- https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1986.patch
- https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1986.diff
— Reply to this email directly, view it on GitHub https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ5KUA7CNJWKHEGAFRFHWDY6E5NZAVCNFSM6AAAAABGPN47U2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TGMZVGE2TGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
thank you for contribution!