Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dyld: Library not loaded: /usr/local/opt/gsl/lib/libgsl.23.dylib

Tags:

dyld

gsl

I am trying to get a piece of software called emergent working. It relies on qt and coin, which I've both installed.

But when I try to run emergent, I get the following error:

dyld: Library not loaded: /usr/local/opt/gsl/lib/libgsl.23.dylib
  Referenced from: /usr/local/bin/emergent
  Reason: image not found
Abort trap: 6

gsl 2.6 is already installed on my computer. Also using Mac OS. Any ideas what could be causing this?

like image 668
doctopus Avatar asked Oct 24 '25 18:10

doctopus


1 Answers

ls /usr/local/opt/gsl

see which version of the library you have (I had .25) then

ln -s libgsl.25.dylib libgsl.23.dylib

Makes symbolic link between files. then it worked!

like image 190
Michmich Avatar answered Oct 26 '25 23:10

Michmich