installing neuron rpm on fedora core 7

Post Reply
tom_morse
Posts: 44
Joined: Wed May 18, 2005 10:23 pm
Location: Yale University School of Medicine
Contact:

installing neuron rpm on fedora core 7

Post 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/libnrnoc.so /usr/local/nrn/i686/lib/liboc.so -L/usr/X11R6/lib /usr/local/nrn/i686/lib/libmemacs.so /usr/local/nrn/i686/lib/libscopmath.so /usr/local/nrn/i686/lib/libsparse13.so /usr/local/nrn/i686/lib/libreadline.so -lncurses -ldl -lm  -Wl,-soname -Wl,libnrnmech.so.0 -o .libs/libnrnmech.so.0.0.0
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [libnrnmech.la] 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*
libncurses.so.5  libncurses.so.5.6
[root@localhost lib]# ln -s libncurses.so.5.6 libncurses.so
[root@localhost lib]# ls -la *ncurse*
lrwxrwxrwx 1 root root     17 2007-09-04 07:50 libncurses.so -> libncurses.so.5.6
lrwxrwxrwx 1 root root     17 2007-05-25 15:45 libncurses.so.5 -> libncurses.so.5.6
-rwxr-xr-x 1 root root 130932 2007-03-08 09:18 libncurses.so.5.6
[root@localhost lib]#
Post Reply