Sorry,

I am running Django in a shared hosting environment, Apache, Fcgi

James

On Mon, Jun 16, 2008 at 2:43 PM, Karen Tracey <[EMAIL PROTECTED]> wrote:

> On Mon, Jun 16, 2008 at 6:07 AM, James Matthews <[EMAIL PROTECTED]>
> wrote:
>
>> Hi,
>>
>> I am trying to import a library that is in a non-standard location
>> ~/opt/lib (I am in a shared environment) and i added it to my
>> "LD_LIBRARY_PATH" however Django tells me it cannot find it and me a 500
>> error.
>>
>> In python i can import the library but not in Django. I compiled this
>> library using Swig.
>>
>> Details:
>>
>> Error was: libhdate.so.1: cannot open shared object file: No such file or
>> directory
>>
>> but in python...
>> [machine]$ python -c "from hdate import Hdate"
>> [machine]$
>>
>>
>> Any help?
>>
>
> You do not mention how you are running Django.  Using the development
> server, under Apache, etc?  Changes you have made to get the import to work
> for your own user login will not necessarily be in effect when running under
> Apache, for instance.  So that could be part of the problem, but it's hard
> to be sure without more specifics of the environment in which you are
> running Django.
>
> Karen
>
> >
>


-- 
http://search.goldwatches.com/?Search=Movado+Watches
http://www.jewelerslounge.com
http://www.goldwatches.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to