Comments (8)
hi,
thanks for the hint. could you check if webp is really turned off in your cmake? - we don't need webp anymore and stefan turned it off in 1a5a0c5.
from nomacs.
yes, webp is turned off ... the REMOVE_ITEM error was also removed last week when updating the cmake to our new structure. Please check out the newest version, I have updated the build system on linux last friday
from nomacs.
The failure of cmake due to REMOVE_ITEM ceased in aeadc94. Btw. it could already be seen in 1949405 and 20e6f3a as well, didn't test the commits before. The failure to build due to WebP ceased in 1a5a0c5.
Both problems were mentioned only as I thought they may eventually have masked when the actual problem of this issue started.
This issue's actual problem is the failure to launch after compiling successfully as depicted in the first comment's first paragraph.
It started in 1a5a0c5. As of 4799891 (and still e. g. in 93bcf2a) the failure persists, the error message got replaced by nomacs: error while loading shared libraries: libnomacsCore.so: cannot open shared object file: No such file or directory
.
from nomacs.
I have just installed a archlinux on a virtual machine and i have no problem at all compiling and running the actual master branch on it ... have you already tried to delete the cmake cache?
from nomacs.
Apparently make target install didn't get adjusted to some code changes:
Running nomacs
in-tree works here, too. Also, all needed libraries are in place
$ find . -iname '*libnomacs*'
./libnomacsGui.so
./libnomacsLoader.so
./libnomacsCore.so
But after installing (make install
) binary nomacs
doesn't find the libraries any longer
$ ldd /usr/local/bin/nomacs | grep libnomacs
libnomacsGui.so => not found
libnomacsLoader.so => not found
libnomacsCore.so => not found
which indeed cannot be found where they are expected
# updatedb && locate libnomacs
/usr/local/lib/libnomacsGui.so
(in-tree results omitted).
from nomacs.
Thanks ... I forgot to change the install targets.
it is fixed now, altough you have to run ldconfig manually ... Haven't found a possibility to make cmake do this
from nomacs.
Problem is fixed as of 9e98278.
The need to run ldconfig
depends, among other, on the selection of directories which are searched for shared libraries by default, AFAIK.
E. g. on Arch Linux it does not have to be run if switch -DCMAKE_INSTALL_PREFIX=/usr
had been added to the cmake invocation of nomacs as /usr/lib
is considered anyway. If on the other hand cmake was run without any optional switch running ldconfig
won't do as /usr/local/lib
still isn't considered. Rather, the latter needs to be added to the ld.so configuration files before running ldconfig
.
But I do not think this has any real relevance as nomacs will be installed by distribution packages most of the time and packagers should make sure that shared libraries are taken into account during installation of binary packages if needed.
Issue can be closed, IMO.
from nomacs.
thanks a lot
from nomacs.
Related Issues (20)
- Path of libnomacsCore.dylib is not updated on macOS
- Recent update webp support HOT 7
- Bug: File ratings not updated HOT 1
- Auto adjust doesn't work HOT 2
- WebP thumbnails not showing on Windows File Explorer HOT 2
- Unable to open images in Outlook HOT 1
- qt5-default is not available in Ubuntu 22.04.2 HOT 1
- Star Rating not saved HOT 1
- Code of conduct contact update
- Start with full screen mode HOT 1
- advices HOT 2
- Compiling Nomacs from downloaded zip gets "not a git repository" error HOT 5
- Small Typo HOT 1
- Text with anchors on the right are displayed in nomacs as if the anchors were on the left HOT 1
- Option to revert back to system default icons instead of nomacs icon. HOT 1
- Scroll is broken in 3.17.2297 HOT 3
- Nomcacs icon isnt visible in Readme
- Plugin loading broken in flatpaks with 3.17
- "Edit Toolbar" does not stay open HOT 1
- README.md for macOS build steps results in compilation error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nomacs.