[xcrysden] xcrysden script for MacOS

Tone Kokalj tone.kokalj at ijs.si
Thu Oct 18 13:43:43 CEST 2012


On Tue, 2012-10-16 at 13:05 -0400, David Strubbe wrote:
> Dear Dr. Kokalj,
> 
> 
> I would like to suggest removal of these lines from the "xcrysden"
> script in the package. If you are trying to use libraries other than
> in external/lib, then these lines cause the system to look in the
> wrong places and the executable cannot run, and I could only make it
> work by commenting them out. These lines are within a check whether
> "external/lib" exists, which I presume is an attempt to see whether
> the external libraries are being used.

No, it is just the opposite. These lines add the
$XCRYSDEN_TOPDIR/external/lib to the DYLD_LIBRARY_PATH (it is implicitly
assumed that external/lib is always there).

I assume that what is going on is that you have compiled also some
external libraries during xcrysden compilation, which now reside in
external/lib, and probably they are not functioning well. To see which
libraries are loaded run (with original xcrysden script without the
pertinent lines removed) xcrysden as : 

xcrysden -d  

(you will probably need to edit xcrysden script and replace the "ldd"
with "otool -L")

Let me know what happens.

Regards,

-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html



More information about the XCrySDen mailing list