Re: Solaris zvt problem found and squashed



allbery@ece.cmu.edu wrote:
> 
> On 24 May, Paul Barnfather wrote:
> +-----
> | So I tried ln -s /usr/local/lib/libz.so /usr/lib/libz.so
> | and now it works fine.
> |
> | I don't understand why gnome-pty-helper is looking in the wrong
> | place for the library. Is this a bug, or just my misconfiguration?
> +--->8
> 
> It's setuid, so unless an explicit -R (-rpath) is used Solaris won't look in
> /usr/local/lib for its shared libraries.
> 
> (On my system, it gets the -R automatically via libtool.  ???)
> 

Hmm. Not here. Looking at the Makefile, I see:

gnome-pty-helper: $(gnome_pty_helper_OBJECTS)
$(gnome_pty_helper_DEPENDENCIES)
        @rm -f gnome-pty-helper
        $(LINK) $(gnome_pty_helper_LDFLAGS) $(gnome_pty_helper_OBJECTS)
$(gnome
pty_helper_LDADD) $(LIBS)

So, no -R (if I am looking in the right place, that is).

And make install says:

 /bin/sh ../libtool  --mode=install .././install-sh -c  gnome-pty-helper
/usr/local/sbin/gnome-pty-helper
.././install-sh -c gnome-pty-helper /usr/local/sbin/gnome-pty-helper
chown root.root /usr/local/sbin/gnome-pty-helper
chown: unknown user id root.root
make[1]: [install-exec-local] Error 2 (ignored)
chmod u+s /usr/local/sbin/gnome-pty-helper

Is the error significant? Please excuse my total ignorance...
The `chown` syntax looks wrong to me. Do I need a GNU chown?

-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~ Paul Barnfather ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
|  plb@clanger9.demon.co.uk  paul.barnfather@northern-electric.co.uk |
|      __           http://www.clanger9.demon.co.uk    .             |
     o--o-... 75TS                                    o'~o... 750SS



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