Michael Hearne (el 2008-09-18 a les 10:57:16 -0600) va dir:: > 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...
You can also use the LD_RUN_PATH at *build* time, which will hardwire the location of the HDF5 libraries in the built library so that you don't need to set LD_LIBRARY_PATH at runtime. If you later relocate the HDF5 libraries, you'll need to use LD_LIBRARY_PATH, though. I remember having read somewhere that using LD_RUN_PATH is preferred... Good luck, :: Ivan Vilata i Balaguer @ Intellectual Monopoly hinders Innovation! @ http://www.selidor.net/ @ http://www.nosoftwarepatents.com/ @
signature.asc
Description: Digital signature
------------------------------------------------------------------------- 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