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
  wget http://gwyddion.net/download/2.56/gwyddion-2.56.tar.xz
  tar -tf gwyddion-2.56.tar.xz
  cd gwyddion-2.56
  ./configure --prefix=$HOME/opt/gwyddion
  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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882441

Title:
  Gwyddion Modules not loading: undefined math symbols

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gwyddion/+bug/1882441/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to