Re: error in loading libgnomesupport.so.0



> When I run sudo make install in gnome-print, I get this:
> 
> ./gnome-font-install: error in loading shared libraries:
> libgnomesupport.so.0: cannot open shared object file: No such file
> or directory
> 
> but when I su to root and run make install without sudo, there are
> no problems.

Setuid programs use a restricted shared library path, and either the
GNOME libraries weren't installed in the restricted path or the GNOME
programs weren't built with a runtime path telling them where the
"official" libraries are.  (This is a security feature so people can't 
create trojaned versions of, say, libc.so or libgnomesupport.so, to
make a setuid program do whatever they desire.)

One way around this is to copy (or maybe symlink) the needed libraries
into /usr/lib.

-- 
brandon s. allbery      [os/2][linux][solaris][japh]     allbery@kf8nh.apk.net
system administrator         [WAY too many hats]           allbery@ece.cmu.edu
electrical and computer engineering                                      KF8NH
carnegie mellon university        ["better check the oblivious first" -ke6sls]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]