LD_LIBRARY_PATH - how to set?
John Abel
john.abel at pa.press.net
Thu Mar 31 01:35:22 EST 2005
With Solaris 8+ you would use the command crle, with Linux
(RedHat/SuSE/Mandrake) you need to add the relevant directories
/etc/ld.so.conf and run ldconfig. I've not got a Debian box to hand, so
I can't say if it matches, but that should give you a pointer.
HTH
J
Roman Yakovenko wrote:
>On Mar 31, 2005 9:20 AM, John Abel <john.abel at pa.press.net> wrote:
>
>
>>What OS? Linux? Solaris?
>>
>>
>
>Does it matter? If so, please explain why ( lack of knowledge )
>I am using Linux ( Debian Surge )
>
>Thanks
>
>
>
>
>>J
>>
>>Roman Yakovenko wrote:
>>
>>
>>
>>>Hi. I have small problem. I need to load extension module that depends
>>>on shared library. Before actually importing module I tried to edit
>>>os.environ or to call directly to os.putenv without any success -
>>>shared library was not found. I tried to search the Internet for the
>>>answer. The only approach I saw was to set LD_LIBRARY_PATH before
>>>invoking python script. I don't like this solution.
>>>
>>>Roman
>>>
>>>
>>>
>>>
>
>
>
--
*John Abel
Senior Unix Administrator*
PA News Limited
www.pa.press.net <http://www.pa.press.net>
E-Mail address: john.abel at pa.press.net <mailto:john.abel at pa.press.net>
Telephone Number : 01430 455553
Fax Number : 0870 1240192
Mobile Number : 07971 611356
The Bishop's Manor, Market Place, Howden, DN14 7BL
PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered
in England No. 3891053.
More information about the Python-list
mailing list