It's not in the NEEDED section because it is loaded dynamically at runtime with dlopen.
man dlopen
state: (ELF only) If the calling object contains a DT_RUNPATH tag, then the directories listed in that tag are searched.
.
I don't know how would that not work for @xiota. Here a test program: https://pastebin.com/g6HMN0ba
Compile and run it with gcc -Wl,-rpath=/opt/pcsx2 -ldl test_dlopen.c && ./a.out
and tell us what you get. It should print /opt/pcsx2
.
Pinned Comments
weirdbeard commented on 2024-08-17 03:40 (UTC)
https://github.com/PCSX2/pcsx2/pull/11632
This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2
In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.