[Kst] The crash when using a gsl-based fit plugin: possible solution
Nicolas Brisset
nicolas.brisset at free.fr
Thu Mar 17 22:45:03 CET 2011
Hi,
I have been researching a bit around the crash I get when using a fit plugin. From the thread at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456898 I see that this problem is known and fairly specific to gsl, which provides a rather non-standard way of exchanging implementations of the cblas lib post-compilation.
It seems that making the gsl flags "-Wl,--no-as-needed -lgsl -lgslcblas -lm" and making sure they are at the end of the list should fix the issue.
Peter, could you try to add that to cmake so that I can check whether it works? Having all fit plugins crash is really bad. We should try to fix it, especially if there is a known solution. I'm actually surprised that it does not crash on other Linux systems as this way of linking seems to be the default for gsl.
Nicolas
More information about the Kst
mailing list