On Fri, 11 Aug 2000 11:21:36 -0400 Sergey Nikolaev wrote:
> 
> 
> Sam Varshavchik wrote:
> 
> > On Thu, 10 Aug 2000, Sergey Nikolaev wrote:
> >
> > > This proves that even though LD_LIBRARY_PATH   IS in the environment of
> > > sqwebmail it cann't find gdbm library. Strangely, if I remove the setuid
> > > to root, then it finds the gdbm library fine.
> >
> > I think I remember someone mentioning that some silly operating systems
> > ignore LD_LIBRARY_PATH for setuid executables.  That is done, allegedly,
> > for security reasons.
> 
> In this case it is Solaris 7.
> 
> Is there a fix for this problem? Do I need to recompile sqwebmail? Which 
> flags do I need to change?
> 
> Sergey
> 
> 
> 
--end of quoted text--

  If you compile with -R /path/to/gdbm/library the linker will stick 
/path/to/gdbm/library into the binary and everything should work fine.
chris

Reply via email to