Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jochen Kuepper <jochen@uni-duesseldorf.de>
To: axp-list@redhat.com, Larry Zimmerman <laz@walleye.gonefishing.sk.ca>
Subject: Re: Mozilla followup
Date: Sat, 30 May 1998 21:07:13 +0200	[thread overview]
Message-ID: <98053021123402.29707@bacchus.pc1.uni-duesseldorf.de> (raw)

On Sat, 30 May 1998 Larry Zimmerman wrote:
>Jochen Kuepper <jochen@uni-duesseldorf.de> wrote:
>> On Sat, 30 May 1998 Larry Zimmerman wrote:
>	
>> >You have to edit /etc/ld.so.conf to point to the mozilla shared
>> >libraries that came with the executable, and run ldconfig.
>	
>> NO!
>> You have to set you LD_LIBRARY_PATH to include the mozilla library and bin-dirs.
>> Don't mess around with /etc/ld.so.conf.
>
>Gee , I didn't know that - I've changed /etc/ld.so.conf a few times
>to get things to work - but I'm basically the only user on this system.
>I've changed my mozilla startup script to set LD_LIBRARY_PATH for
>mozilla if it's not already set. If you have time Jochen, could you
>check it and see if it's okay. I added this:
>mp=`expr "$LD_LIBRARY_PATH" : ".*\(/usr/local/lib/mozilla\).*"`
>if [ "$mp" = "" ]
>then
>  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/mozilla
>fi

I changed it a bit (well, first, mozilla is at a different place over here, no
problem with that.)
You nedd to add mozillas bin-dir to LD_LIBRARY path if you use the lsl-directory
structure.
The mozilla lib-dirs need to be first in LD_LIBRARY_PATH if you do
have libraries with the same names as mozillas on your system (it's jpeg for me,
that causing trouble if not using the mozilla one for mozilla).

mp=`expr "$LD_LIBRARY_PATH" : ".*\(/tmp/src/mozilla/lsl-mozilla/lib\).*"`
if [ "$mp" = "" ]
then
  export LD_LIBRARY_PATH=/tmp/src/mozilla/lsl-mozilla/lib:/tmp/src/mozilla/lsl-mozilla/bin:$LD_L
IBRARY_PATH
fi
 
>Is the /etc/ld.so.conf meant for system libraries, and LD_LIBRARY_PATH
>meant for "user"/"application" libraries?

ld.so.conf is meant to be obsolete anyhow, cause you can do the same by setting
an environment variable (LD_LIBRARY_PATH). And you can see one of the drawbacks
up there (jpeg). How do you manage that mozilla uses it's own libjpeg, but no
other program uses that mozilla lib but the system libjpeg with ld.so.conf ?

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


             reply	other threads:[~1998-05-30 19:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-30 19:07 Jochen Kuepper [this message]
     [not found] <jochen@uni-duesseldorf.de>
1998-05-30 18:36 ` Mozilla followup Larry Zimmerman
1998-05-30 19:37 ` Larry Zimmerman
  -- strict thread matches above, loose matches on Subject: below --
1998-05-30 18:58 Jochen Kuepper
1998-05-30 18:07 Jochen Kuepper
1998-05-30 18:41 ` Mark Conway Wirt
1998-05-30 17:33 Larry Zimmerman
1998-05-30 18:42 ` Mark Conway Wirt
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox