On Sat 26 Mar 2011 10:53, Johan Hidding <johannes.hidd...@gmail.com> writes:
> Hello Ludo', > I had a chat with Mark Weaver on IRC; he could reproduce the error. > The output shows basic GSL working, but GSL+CBLAS failing. I found a > way to -combine the static versions into a single shared library using > a trick I found on StackOverflow: > >> gcc -shared -o c.so -Wl,--whole-archive libgsl.a libgslcblas.a >> -Wl,--no-whole-archive > > Then the code works fine. A C program using GSL is normally compiled > using -lgsl -lgslcblas, as the CBLAS functionality is optional. Does that mean that gslcblas should be opened with RTDL_GLOBAL or something? Andy -- http://wingolog.org/