[Wylug-discuss] special treatment of /usr/local on linux?

David Holden dh at iucr.org
Mon Jul 24 12:32:15 BST 2006


Hi,

   Ubuntu (and fedora) have some system config apps that use python.

e.g.

 gnome-app-install

This fails to run on my machine because it tries to pick up library 
from /usr/local/lib rather than /usr/llib

e.g

  File "/usr/lib/python2.4/site-packages/AppInstall/AppInstall.py", line 20, 
in ?
    import gtk
  File "/usr/local//lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 
43, in ?
    from _gtk import *

The only way I've been able to stop it from doing this is to mv /usr/local to 
some other place.

I've tried setting LD_LIBRARY_PATH with no effect.

I've tried removing all reference to /usr/local/ from PATH with non effect

I've checked ldconfig -p does not contain /usr/local


 So at the moment I'm stumped.

 Any ideas?

     Dave.
-- 
Dr. David Holden.

See: <http://www.gnu.org/philosophy/no-word-attachments.html>
regarding Word or PowerPoint. GPG key available on request.
-------------------------------------------------------------



More information about the Wylug-discuss mailing list