Re: [AMBER] problems with NAB and SHIFTS

From: Xinfu Xia <xinfu.x.xia.gsk.com>
Date: Thu, 15 Jul 2010 10:30:41 -0500

Experts,

I am having the same problem and need a fix.

I have successfully passed configure phase. I failed in the make phase in nss dir. So I drill into nss dir to repeat the failed step.

=============================================================================================
stvsxhn02c01b01> echo $LD_LIBRARY_PATH
:/usr/lib
stvsxhn02c01b01> ls -l /usr/lib/libgfortran*
lrwxrwxrwx 1 root root 20 Jul 15 14:49 /usr/lib/libgfortran.so -> libgfortran.so.1.0.0
lrwxrwxrwx 1 root root 20 Mar 13 17:18 /usr/lib/libgfortran.so.0 -> libgfortran.so.0.0.0
-rwxr-xr-x 1 root root 359660 Dec 10 2009 /usr/lib/libgfortran.so.0.0.0
lrwxrwxrwx 1 root root 20 Mar 13 17:18 /usr/lib/libgfortran.so.1 -> libgfortran.so.1.0.0
-rwxr-xr-x 1 root root 478692 Dec 10 2009 /usr/lib/libgfortran.so.1.0.0
lrwxrwxrwx 1 root root 27 Jul 15 14:49 /usr/lib/libgfortranpreview.so -> libgfortranpreview.so.0.0.0
lrwxrwxrwx 1 root root 27 Mar 13 17:18 /usr/lib/libgfortranpreview.so.0 -> libgfortranpreview.so.0.0.0
-rwxr-xr-x 1 root root 306748 Dec 10 2009 /usr/lib/libgfortranpreview.so.0.0.0
stvsxhn02c01b01> /dev/shm/amber11/bin/nab -o matextract matextract.o
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
cc failed!
stvsxhn02c01b01> /dev/shm/amber11/bin/nab -help
gcc: unrecognized option `-help'
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
cc failed!
stvsxhn02c01b01>
=======================================================================================

It seems to me, the complied nab program invokes cc which invokes /usr/bin/ld without passing proper $LD_LIBRARY_PATH to it.

Thanks

Xinfu Xia
GlaxoSmithKline
5 Moore Drive
Durham, NC 27709
(919) 483-9305





_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jul 15 2010 - 09:00:03 PDT
Custom Search