From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18435 invoked from network); 30 May 1998 19:12:38 -0000 Received: from bacchus.pc1.uni-duesseldorf.de (root@134.99.152.11) by mail2.redhat.com with SMTP; 30 May 1998 19:12:38 -0000 Received: from bacchus.pc1.uni-duesseldorf.de (jochen@localhost [127.0.0.1]) by bacchus.pc1.uni-duesseldorf.de (8.8.7/8.8.7) with SMTP id VAA29887; Sat, 30 May 1998 21:12:34 +0200 From: Jochen Kuepper Reply-To: jochen@uni-duesseldorf.de To: axp-list@redhat.com, Larry Zimmerman Subject: Re: Mozilla followup Date: Sat, 30 May 1998 21:07:13 +0200 X-Mailer: KMail [version 0.6.5] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <98053021123402.29707@bacchus.pc1.uni-duesseldorf.de> Content-Transfer-Encoding: quoted-printable X-KMail-Mark: On Sat, 30 May 1998 Larry Zimmerman wrote: >Jochen Kuepper wrote: >> On Sat, 30 May 1998 Larry Zimmerman wrote: >=09 >> >You have to edit /etc/ld.so.conf to point to the mozilla shared >> >libraries that came with the executable, and run ldconfig. >=09 >> 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=3D`expr "$LD_LIBRARY_PATH" : ".*\(/usr/local/lib/mozilla\).*"` >if [ "$mp" =3D "" ] >then > export LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/usr/local/lib/mozilla >fi I changed it a bit (well, first, mozilla is at a different place over her= e, no problem with that.) You nedd to add mozillas bin-dir to LD_LIBRARY path if you use the lsl-di= rectory 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=3D`expr "$LD_LIBRARY_PATH" : ".*\(/tmp/src/mozilla/lsl-mozilla/lib\).*= "` if [ "$mp" =3D "" ] then export LD_LIBRARY_PATH=3D/tmp/src/mozilla/lsl-mozilla/lib:/tmp/src/mozi= lla/lsl-mozilla/bin:$LD_L IBRARY_PATH fi =20 >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 s= etting an environment variable (LD_LIBRARY_PATH). And you can see one of the dra= wbacks up there (jpeg). How do you manage that mozilla uses it's own libjpeg, bu= t no other program uses that mozilla lib but the system libjpeg with ld.so.con= f ? 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 -----------------------------------------------------------------------