On the latest gsl tip, I have met an undefined symbol error.
Platform Ubuntu 14.04 LTS amd 64 (gcc 4.8.5 and 5.3.0)
Octave version 4.0.3 and 4.1.0+(8de49f15e182)
gsl 1.16 (from Ubuntu repository) and gsl 2.1 (built myself).
Results
gsl 1.16,
successful on both 4.0.3 and 4.1.0+.
bessel_Jn works fine.
gsl 2.1.0
failure on both 4.0.3 and 4.1.0+
(undefined symbol at copyfile)
copyfile /tmp/oct-1a7B8Q/gsl-1.1.0/src/gsl_arr.oct
/tmp/oct-1a7B8Q/gsl-1.1.0/src/gsl_sf.oct
/tmp/oct-1a7B8Q/gsl-1.1.0/src/legendre_sphPlm_array.oct
/tmp/oct-1a7B8Q/gsl-1.1.0/inst/x86_64-pc-linux-gnu-api-v50+
warning: doc_cache_create: unusable help text found in file 'gsl_arr'
/home/tatsuro/work/octave/octave-forge/4.0.3/gsl-1.1.0/x86_64-pc-linux-gnu-api-v50+/gsl_sf.oct:
failed to load:
/home/tatsuro/work/octave/octave-forge/4.0.3/gsl-1.1.0/x86_64-pc-linux-gnu-api-v50+/gsl_sf.oct:
undefined symbol: gsl_sf_mathieu_ce_e
On windows, 4.1.0+(8de49f15e182) with gsl-2.1.
pkg install of gsl package works successfully.