[Neurodebian-devel] any ideas why linking against gslcblas "doesn't work" on Ubuntus?

Yury V. Zaytsev yury at shurup.com
Wed Sep 11 15:38:47 UTC 2013


On Tue, 2013-09-03 at 08:59 -0400, Yaroslav Halchenko wrote:
> Need input since can't figure it out myself... I am on a quest to
> robustify our AFNI's builds.   Everything is working smooth on Debians
> but all Ubuntus fail while linking against gsl/gslcblas -- it is like
> if there were no -lgslcblas 

Hi Yarik,

Just a shot in the dark: it could be due to --as-needed enabled on
Ubuntus by default. In order to disable it for the session try

    export LDFLAGS="-Wl,--no-as-needed"

Hope that helps and let me know if this worked,

-- 
Sincerely yours,
Yury V. Zaytsev





More information about the Neurodebian-devel mailing list