comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Using Slither with Anaconda
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Using Slither with Anaconda [message #90362] Thu, 26 February 2015 00:03
eric.p.kerby is currently offline  eric.p.kerby
Messages: 1
Registered: February 2015
Junior Member
I am on a Linux system using an install of Anaconda Python 2.7 with Slither in IDL 8.x. After installing the Slither DLM, without any other changes, I get the following error when attempting the first Python module import:

IDL> random=pyimport("random")
% PYIMPORT: Error loading sharable executable.
Symbol: IDL_Load, File = /usr/local/exelis/idl83/bin/bin.linux.x86_64/Slither.so
libpython2.7.so.1.0: cannot open shared object file: No such file or directory
% Execution halted at: $MAIN$

I can resolve this by first exporting the location of the Anaconda libpython2.7.so.1.0 library to LD_LIBRARY_PATH in my shell before launching IDL:
export LD_LIBRARY_PATH=/path/to/anaconda/lib

I would like to remove this requirement so all developers/users do not have to modify their profiles to export an LD_LIBRARY_PATH. I tried using SETENV after launching IDL to set the same environment variable, however this did not fix the issue. For some reason, the DLM Slither loading of the Python library only respects LD_LIBRARY_PATH if it was exported prior to launching IDL.

Has anyone else encountered this issue or have suggestions?

Thanks,
Eric
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to find second minimum and maximum in 3D array?
Next Topic: % OPENW: Error opening file.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 09:20:10 PDT 2025

Total time taken to generate the page: 0.01525 seconds