[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Mozilla followup
- 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
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
-----------------------------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]