Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined symbol: gsl_sf_legendre_array_size (on Arch Linux) #52

Open
elisaado opened this issue Nov 28, 2017 · 2 comments
Open

Undefined symbol: gsl_sf_legendre_array_size (on Arch Linux) #52

elisaado opened this issue Nov 28, 2017 · 2 comments

Comments

@elisaado
Copy link

I installed the gem, and tried it out but I got this error:

	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /home/eli/.gem/ruby/2.4.0/gems/gsl-2.1.0.3/lib/gsl.rb:11:in `<top (required)>'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `require'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
	from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:40:in `require'
	from (irb):1
	from /usr/bin/irb:11:in `<main>'

OS: Arch Linux (x86_64)

@munterkalmsteiner
Copy link

munterkalmsteiner commented Jan 8, 2018

I'm running into a similar issue on Arch Linux, with ruby 2.5:

Traceback (most recent call last): [SNIP]

1: from /home/mun/.gem/ruby/2.5.0/gems/gsl-2.1.0.3/lib/gsl.rb:11:in <top (required)>' /home/mun/.gem/ruby/2.5.0/gems/gsl-2.1.0.3/lib/gsl.rb:11:in require': /home/mun/.gem/ruby/2.5.0/gems/gsl-2.1.0.3/lib/gsl_native.so: undefined symbol: gsl_sf_legendre_array_size - /home/mun/.gem/ruby/2.5.0/gems/gsl-2.1.0.3/lib/gsl_native.so (LoadError)

Did you ever find a solution? My current workaround is to downgrade to ruby 2.4...

@da2x
Copy link

da2x commented Aug 8, 2019

The function is deprecated in GSL and the GSL gem need to update to reflect the deprecation.
https://www.rdocumentation.org/packages/gsl/versions/2.1-1/topics/gsl-deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants