dlopen failed - after successful compilation of Mod files

Anything that doesn't fit elsewhere.
Post Reply
simonvhardy
Posts: 4
Joined: Fri Jan 18, 2019 10:58 am

dlopen failed - after successful compilation of Mod files

Post by simonvhardy »

I am running into an issue.

I recently installed NEURON 7.7.2 after uninstalling a previous version. My MacOS is Mojave 10.14.6 (18G95). NeuronDemo works fine when I open it from the console.

I can compile mod files but when I try to launch the model with nrngui, I get the following error:

Code: Select all

NEURON -- VERSION 7.7.2 7.7 (2b7985ba) 2019-06-20
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2018
See http://neuron.yale.edu/neuron/credits

loading membrane mechanisms from /Users/simonvhardy/Documents/Recherche/NEURON/CA1/Modele_Complet/Neuron/Mod_Files/x86_64/.libs/libnrnmech.so
dlopen failed - 
dlopen(/Users/simonvhardy/Documents/Recherche/NEURON/CA1/Modele_Complet/Neuron/Mod_Files/x86_64/.libs/libnrnmech.so, 2): image not found
I could simulate models with previous versions.

When I look at the libnrnmech.so, I see:

Code: Select all

otool -L x86_64/.libs/libnrnmech.so
x86_64/.libs/libnrnmech.so:
	/Applications/NEURON-7.7/nrn/x86_64/lib/libnrnoc.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/liboc.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libmemacs.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libscopmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libsparse13.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libreadline.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libnrniv.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libivoc.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libneuron_gnu.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libmeschach.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Applications/NEURON-7.7/nrn/x86_64/lib/libsundials.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
Anyone has an idea where I should look for a fix?
simonvhardy
Posts: 4
Joined: Fri Jan 18, 2019 10:58 am

Re: dlopen failed - after successful compilation of Mod files

Post by simonvhardy »

Some precisions.

It is the first time I simulate this specific model. It was developed in my lab and I cloned it from our Git repository.

I just tested another model I developed myself a your ago and the compilation/simulation went fine.
simonvhardy
Posts: 4
Joined: Fri Jan 18, 2019 10:58 am

Re: dlopen failed - after successful compilation of Mod files

Post by simonvhardy »

Problem solved.
ted
Site Admin
Posts: 6287
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: dlopen failed - after successful compilation of Mod files

Post by ted »

What was the fix?
Post Reply