You are not logged in.
after installing version 0.6.5 from tarball I am getting this error:
/usr/local/bin/mousepad: error while loading shared libraries: libmousepad.so.0: cannot open shared object file: No such file or directory.
The libraries are indeed in /usr/local/lib/
I did get these fatal errors during meson compile and install. not sure if that is the cause or not.
meson compile -C build:
[15/94] Generating xfce-revision.h with a custom command
fatal: not a git repository (or any of the parent directories): .git
[94/94] Linking target mousepad/mousepad
meson install -C build:
ninja: Entering directory `/user/zBuilds/mousepad-mousepad-0.6.5/build'
[1/31] Generating xfce-revision.h with a custom command
fatal: not a git repository (or any of the parent directories): .git
i can launch mousepad if i use LD_LIBRARY_PATH="/usr/local/lib" mousepad
But shouldn't there be a way to link these during compile with meson? thanks
Last edited by callmejoe (2025-04-10 04:26:48)
Offline
after installing version 0.6.5 from tarball I am getting this error:
/usr/local/bin/mousepad: error while loading shared libraries: libmousepad.so.0: cannot open shared object file: No such file or directory.The libraries are indeed in /usr/local/lib/
If you are intending to install this location, then you need to configure ldconfig to trust this library location. See: https://thelinuxcode.com/linux-ldconfig-command/ (sorry about the popups). If not, you can specify a different prefix with meson:
meson setup --prefix=/usr builddir
...so that it installs to /usr/lib instead.
I did get these fatal errors during meson compile and install. not sure if that is the cause or not.
meson compile -C build:
[15/94] Generating xfce-revision.h with a custom command
fatal: not a git repository (or any of the parent directories): .git
[94/94] Linking target mousepad/mousepadmeson install -C build:
ninja: Entering directory `/user/zBuilds/mousepad-mousepad-0.6.5/build'
[1/31] Generating xfce-revision.h with a custom command
fatal: not a git repository (or any of the parent directories): .git
I get these too when I install from tarballs using meson, because they are not from the git tree. I believe they are warnings and can be ignored.
i can launch mousepad if i use LD_LIBRARY_PATH="/usr/local/lib" mousepad
But shouldn't there be a way to link these during compile with meson? thanks
See my comment above regarding adding the library to your LD path or specify a prefix for a trusted location.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
thanks for the reply. that ldconfig read was a good one. i never used that before. worked great.
what i dont get is the meson compile -C build and meson install -C build commands installed mousepad to /usr/local/bin/ by default. I assumed then the installation would link the shared libraries automatically.
I've installed an earlier version of mousepad from source before and didn't run into this. oh well.
Last edited by callmejoe (2025-04-10 04:26:10)
Offline
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 538.64 KiB (Peak: 539.48 KiB) ]