[xcrysden] Unable to Insall XCrysDen on EMT64 Machines

Tone Kokalj xcrysden@democritos.it
Fri, 18 Aug 2006 18:08:10 +0200


On Thu, 2006-08-17 at 14:09 +0530, Mahajan, Arun (GE, Research,
consultant) wrote:
> Support,
>=20
> I'm tring to install XCrysDEn on intel's EMT64 server. The hardware/softw=
are specifications are
>=20
> Linux localhost 2.4.21-32.EL #1 SMP Fri Apr 15 21:02:58 EDT 2005 x86_64 x=
86_64 x86_64 GNU/Linux
>=20
> The installation comes out with the following error
> ----------------------------------------------------
> xcHBonds.c: In function `_Hbond_MakeList':
> xcHBonds.c:264: warning: passing arg 4 of `Tcl_SplitList' from incompatib=
le pointer type
> gcc  -ansi -fwritable-strings  -funroll-loops -fPIC -DUSE_FONTS -m32 detn=
split.o xcAppInit.o xcballstick.o xcviewport.o xcLabels.o vectors.o xcDispl=
ayFunc2.o xcAtomAdd.o loadValues.o hpsort.o auxilproc.o xcdebug.o 3D.o xcDi=
splayFunc.o readstrf.o mxmymz.o remakestr.o xcSelect.o readisodata.o lighti=
ng.o xcGLparam.o colorplane.o isorender.o polygonise.o polygonise_auxil.o x=
cIsoSurf.o voronoi.o xcBz.o xcSuperCell.o xcPrimitives.o setOpenGLState.o m=
emory.o isoMalloc.o isoInterpolate.o readPlvertex.o splineInt.o paraSize.o =
isoline.o xcIsoSpaceSel.o cells.o xcWigner.o xcTogl.o datagrid.o sInfo.o xc=
IsoDataGrid.o xcColorScheme.o xcReadXSF.o xcF3toI4.o xcFractCoor.o signal.o=
 MarchCubes.o isosurf.o xcMolSurf.o cryNewContext.o fs.o cryDispFunc.o cryD=
ispFuncMultiFS.o crySetProj.o crySurfArgs.o crySurf.o cryTransform.o cryCli=
p.o cryTogl.o forces.o xcForces.o gl2psPrintTogl.o ppmPrintTogl.o lcasi.o l=
casif.o xcFont.o fog.o writeXSF.o hbonds.o xcHBonds.o linear.o  togl.o gl2p=
s.o sgiRasterFont.o sgiAux.o \
> -o xcrys /root/XCrySDen-1.4.1s-all/external/lib/libtk8.4.so /root/XCrySDe=
n-1.4.1s-all/external/lib/libtcl8.4.so /root/XCrySDen-1.4.1s-all/external/l=
ib/libGLU.so /root/XCrySDen-1.4.1s-all/external/lib/libGL.so -L/usr/X11R6/l=
ib -lXmu -lX11 -lXext -lm
> /root/XCrySDen-1.4.1s-all/external/lib/libtk8.4.so: could not read symbol=
s: Invalid operation
> collect2: ld returned 1 exit status

You have almost done it!

The error is due to linking the Tcl/Tk libraries. If you have the Tcl/Tk
libraries installed on your server (libtcl8.4.so, libtk8.4.so; they are
usually in /usr/lib at least in Debian) then use these libs instead.=20

Edit your Make.sys and specify this system libraries. For example:=20

TK_LIB      =3D -L/path/to/you/system/tcl-library -ltk8.4
TCL_LIB     =3D -ltcl8.4

Regards, Tone