[Kst] Re: The crash when using a gsl-based fit plugin: possible solution
syntheticpp at gmx.net
Fri Mar 18 20:32:07 CET 2011
On 17.03.2011 22:45, Nicolas Brisset wrote:
> 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.
As I understand it, gsl loads a blas lib at runtime. Have you installed one of them on your sytem?
More information about the Kst