The siril project that uses libgsl fails to build on FreeBSD 11:

/usr/local/lib/libgsl.so: undefined reference to `cblas_zher2k'
/usr/local/lib/libgsl.so: undefined reference to `cblas_dtrsm'

Log: http://beefy9.nyi.freebsd.org/data/114amd64-default/552369/logs/siril-0.99.6.log


libgsl.so doesn't get linked to libgslcblas.so and has unresolved symbols cblas_* that are defined in libgslcblas.so. .pc file reports both libraries, but libgsl.so also needs to be linked with libgslcblas.so


You need to add -lgslcblas when you link libgsl.so


gsl-2.6



Yuri



Reply via email to