As of version 9.0.1/9.1.1, SWI-Prolog can tell where the shared object lives. This works reliably on Windows, MacOS and Linux and any other system providing dladdr(). On other systems it uses the value derived from the CMake install configuration and may be wrong if the installation
is relocated.
As of version 9.0.1/9.1.1, SWI-Prolog can tell where the shared object lives. This works reliably on Windows, MacOS and Linux and any other system providing dladdr(). On other systems it uses the value derived from the CMake install configuration and may be wrong if the installation is relocated.