So this obviously some linking peculiarity when packaging. I suggest to start by adding
--enable-library-bloat
configure option when packaging. It often makes things work when distros add evil linker flags. But it may be insufficient. We may have to add some explicit -lm when this option is enabled.
Funny thing, the modules fail to load with the same errors even with
LD_PRELOAD= /lib/x86_ 64-linux- gnu/libm. so.6 gwyddion
despite the symbols being defined there. LD_PRELOAD does not influence dlopen()ed modules?
Anyway, when the program is simply compiled from source code (using ~/opt/gwyddion as installation prefix):
sudo apt-get install libgtkglext1-dev libfftw3-dev gwyddion. net/download/ 2.56/gwyddion- 2.56.tar. xz 2.56.tar. xz $HOME/opt/ gwyddion
wget http://
tar -tf gwyddion-
cd gwyddion-2.56
./configure --prefix=
make
make install
it can be run
~/opt/ gwyddion/ bin/gwyddion
and works normally.
So this obviously some linking peculiarity when packaging. I suggest to start by adding
--enable- library- bloat
configure option when packaging. It often makes things work when distros add evil linker flags. But it may be insufficient. We may have to add some explicit -lm when this option is enabled.