Error using mod files from python
Posted: Tue Dec 09, 2014 10:23 am
Hello,
Some weeks ago, I compiled a mod (hhSV.mod) I based on the original hh mod file file by dragging it on mknrndll. Loading neuron from python (from neuron import *) resulted in the message "Additional mechanisms from files; hhSV.mod" and everything worked fine.
Now, I copied my project to a new folder, modified the mod file, and tried to redo the procedure. Now, when I try to load neuron from python, I get the following error:
dlopen failed -
dlopen(x86_64/.libs/libnrnmech.so, 2): Symbol not found: __ZN9ivPrinterC1EPSo
Referenced from: /Applications/NEURON-7.3/nrn/x86_64/lib/libivoc.0.dylib
Expected in: flat namespace
in /Applications/NEURON-7.3/nrn/x86_64/lib/libivoc.0.dylib
Using the old mod file results in the same error. Oddly, running special.exe in the x86_64 folder generated by mknrndll, does work without errors.
I use neuron 7.3, OSX 10.9.5 and python 2.7.8.
Any help would be greatly appreciated, cause I have no clue what happened.
Regards,
Bas-Jan
Some weeks ago, I compiled a mod (hhSV.mod) I based on the original hh mod file file by dragging it on mknrndll. Loading neuron from python (from neuron import *) resulted in the message "Additional mechanisms from files; hhSV.mod" and everything worked fine.
Now, I copied my project to a new folder, modified the mod file, and tried to redo the procedure. Now, when I try to load neuron from python, I get the following error:
dlopen failed -
dlopen(x86_64/.libs/libnrnmech.so, 2): Symbol not found: __ZN9ivPrinterC1EPSo
Referenced from: /Applications/NEURON-7.3/nrn/x86_64/lib/libivoc.0.dylib
Expected in: flat namespace
in /Applications/NEURON-7.3/nrn/x86_64/lib/libivoc.0.dylib
Using the old mod file results in the same error. Oddly, running special.exe in the x86_64 folder generated by mknrndll, does work without errors.
I use neuron 7.3, OSX 10.9.5 and python 2.7.8.
Any help would be greatly appreciated, cause I have no clue what happened.
Regards,
Bas-Jan