Francesc - I think I answered my own question.  I have to set it in the 
environment where I'll be running.

Is there another way that this is accomplished?  I have another Linux 
system where I have pytables installed, and LD_LIBRARY_PATH is not set, 
and the import works just fine.  I installed pytables on that system (I 
think) using easy_install.

I would prefer not to have to use environment variables, because I'll be 
running my code from a cron job, where account settings are frequently a 
problem...

Thanks,

Mike

Michael Hearne wrote:
> Francesc - Thank you.  This is not mentioned anywhere in the README - is 
> that something that could be added?
>
> Also, do I have to make this export a _permanent_ part of my 
> installation, or am I just supposed to set this before building the package?
>
> Thanks,
>
> Mike
>
> Francesc Alted wrote:
>   
>> Hi Mike,
>>
>> A Wednesday 17 September 2008, Michael Hearne escrigué:
>>   
>>     
>>> Hi, new to the list.  I'm trying to get pytables installed on a Red
>>> Hat Enterprise system, with a local copy of python 2.5.  Pytables
>>> _seems_ to install successfully, giving me the output below.
>>>
>>> However, when I try to use pytables, I get an error saying
>>> "ImportError: libhdf5.so.5: cannot open shared object file: No such
>>> file or directory".  Why does the installation process show that it
>>> knows where the libraries are but the usage fail to find them??
>>>     
>>>       
>> Because you have directed it how to find the HDF5 libraries in 
>> compilation time (via the the --hdf5 flag), but not how to find them in 
>> execution time.  There are many ways to do this in Linux, but I 
>> normally use the LD_LIBRARY_PATH environment variable to point to where 
>> your libhdf5.so.5 file is.  For example:
>>
>> $ export LD_LIBRARY_PATH=/usr/local/hdf5/lib
>>
>> or similar, should work.  See the man page for 'ld' (the GNU linker) for 
>> more info on loading dynamic libraries.
>>
>> HTH,
>>
>>   
>>     
>
>   

-- 
------------------------------------------------------
Michael Hearne
[EMAIL PROTECTED]
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to