Re: Help on installing LEaP

From: <>
Date: Tue 28 Dec 1999 08:48:12 -0800

" Jithesh P.V" writes:
>While installing LEaP (AMBER version 5) the following error occured:
>ld: fatal: library -lSM: not found
>ld: fatal: library -lICE: not found

SM and ICE are two X11 libraries. Either you don't have these libraries
installed on your system, or the link step isn't requesting the
directory they're in to be searched.

First determine if libSM and libICE are on your system (check the
X11 library directories). If they aren't installed, you'll need to
make sure they're installed. You never said what platform you're using,
but on Red Hat Linux they come in the XFree86-devel RPM package. Install
that package.

If they're already installed, then you'll have to modify the LEAP link
step to include a line like "-L/usr/X11R6/lib" (or pointing to wherever
the LEAP libraries reside on your system) before the actual references
to the SM and ICE libraries.

The relevant line in the link looks like this:

gcc -o xaLeap -g -DMEMORY_DEBUG=0 -I.. -w basics.o sysdepend.o stringExtra.o
varArray.o getline.o avl.o pdb_format.o pdb_read.o pdb_sprntf.o pdb_sscanf.o
pdb_write.o vector.o zMatrix.o sort.o bag.o hash.o dictionary.o database.o
nVector.o ring.o matrix.o fortran.o displayer.o assoc.o atom.o byteArray.o
collection.o container.o internal.o list.o loop.o molecule.o oDouble.o
oInteger.o oString.o objekt.o parmSet.o residue.o unit.o unitio.o graphUtil.o
select.o amber.o build.o elements.o library.o chirality.o minimizer.o model.o
parmLib.o pdbFile.o tools.o variables.o parser.o help.o helptext.o octree.o
commands.o mathop.o block.o restraint.o hybrid.o xTank.o xAction.o x3d.o
xBasics.o xaLeapc.o xaUnitEditor.o xaTable.o xaAtomTable.o XrawRegistr.o
xaCommand.o xaTools.o xaAtomParmTable.o xaBondParmTable.o xaAngleParmTable.o
xaParmEditor.o xaTorsionParmTable.o xaImproperParmTable.o xaHBondParmTable.o
-L../Wc -lWcLeap -L../Xpm -lXpmLeap -L../Xraw -lXrawLeap -L/usr/X11R6/lib
-lXmu -lXt -lSM -lICE -lXext -lX11 -lm

so I think it's likely you just haven't installed the appropriate libraries
(or you're on a system where SM and ICE aren't necessary)

Received on Tue Dec 28 1999 - 08:48:12 PST
Custom Search