Page 1 of 1

installing neuron rpm on fedora core 7

Posted: Tue Sep 04, 2007 8:10 am
by tom_morse
I received the following error during compiling mod files on fedora core 7 with the NEURON -- Release 6.0.1 (1780) 2007-06-12 nrnivmodl:


Code: Select all

gcc -shared  .libs/leak.o .libs/oldtsyn.o .libs/shunt.o .libs/thold.o .libs/mod_func.o  -Wl,--rpath -Wl,/usr/local/nrn/i686/lib -Wl,--rpath -Wl,/usr/local/nrn/i686/lib -L/usr/local/nrn/i686/lib /usr/local/nrn/i686/lib/ /usr/local/nrn/i686/lib/ -L/usr/X11R6/lib /usr/local/nrn/i686/lib/ /usr/local/nrn/i686/lib/ /usr/local/nrn/i686/lib/ /usr/local/nrn/i686/lib/ -lncurses -ldl -lm  -Wl,-soname -Wl, -o .libs/
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [] Error 1
Michael pointed out this could be fixed by adding a symbolic link to my existing ncurses library file. Here is a sample symbolic link adding command and the changes to the /lib directory:

Code: Select all

 cd /lib
[root@localhost lib]# ls *ncurse*
[root@localhost lib]# ln -s
[root@localhost lib]# ls -la *ncurse*
lrwxrwxrwx 1 root root     17 2007-09-04 07:50 ->
lrwxrwxrwx 1 root root     17 2007-05-25 15:45 ->
-rwxr-xr-x 1 root root 130932 2007-03-08 09:18
[root@localhost lib]#