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

Re: netscape and linking



Karsten Bolding wrote:
 > 
 > Hi
 > 
 > When I start Netscape (v. 4.03) as root - no problems, when I do the same as
  >  an ordinary user I get a segmentation fault. I compared the output from 's
  > trace /usr/local/netscape/netscape' the root started version links to /usr/
  > lib/libc5-compat/* where as the user started version links to more /usr/X11
  > R6/lib/* .
 > 
 > Now how do I change the order where a programme looks for libraries?

Make a wrapper script (or edit the existing one) and put

LD_LIBRARY_PATH=/usr/lib/libc5-compat
export LD_LIBRARY_PATH
exec /path/to/netscape "$@"

HTH
-- 
Dimitri
emaziuk at curtin dot edu dot au
Objects in the mirror appear further then they are
(etched on a rear view mirror of a Mitsubishi Mirage)



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: