tags:

views:

172

answers:

3

When trying to use libxml2 as myself I get an error saying the package cannot be found. If I run as as super user I am able to import fine.

I have installed python25 and all libxml2 and libxml2-py25 related libraries via fink and own the entire path including the library. Any ideas why I'd still need to sudo?

+3  A: 

Check your path (run 'echo $PATH')

Paul Betts
A: 

I would suspect the permissions on the library. Can you do a strace or similar to find out the filenames it's looking for, and then check the permissions on them?

Douglas Leeder
A: 

The path was the mistake. Thanks. I was looking at everything else to be wrong :-)