On Jun 27, 2021, at 17:16, Patrick Dupre <pdupre(a)gmx.com>
wrote:
echo $LD_LIBRARY_PATH
/usr/lib64/gtk-3.0/modules
but still
/usr/local/scilab-6.1.0/bin/scilab
Gtk-Message: 23:13:39.716: Failed to load module "pk-gtk-module"
also:
/usr/local/scilab-6.1.0/bin/scilab-bin
error while loading shared libraries: libscilab-cli.so.6: cannot open shared object file:
No such file or directory
If you are building your own software outside of standard paths, you’ll either need to
link with —rpath or set up your own LD_LIBRARY_PATH for wherever you installed your scilab
libraries. Probably the same path as the executables, only in …/lib. This is a general
Linux issue, not really a “Fedora” issue, per se.
I use Lmod for environment modules for stuff like this, if I’m not packaging the
software.
—
Jonathan Billings