Subject: Re: Problems with CUPS from firefox-linux and NetBSD 1.6ZK
To: None <current-users@NetBSD.org>
From: Christian Palomino <zakhrin@freeshell.org>
List: current-users
Date: 03/02/2004 13:32:51
--Signature=_Tue__2_Mar_2004_13_32_51_+0100_SMwsEXv/JnoqbeyE
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Tue, 2 Mar 2004 09:59:31 +0100
Christian Biere <christianbiere@gmx.de> wrote:

> Actually, it's recommendable to put a wrapper around every program which
> is called from Mozilla which does "unset LD_LIBRARY_PATH". 

Ok, I will. Thanks for the advise.
> 
> Did you add this LD_LIBRARY_PATH to the wrapper or is that how it gets
> installed by pkgsrc?

It was installed by pkgsrc

> You might want to look at the executable and
> see which paths it got compiled in:
> 
> objdump -p /path/to/firefox-bin|grep RPATH

Mmmm, no RPATH, objdump with no grep gives me:
/usr/pkg/lib/firefox-linux/firefox-bin:     file format elf32-i386
 
Program Header:
    PHDR off    0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
         filesz 0x000000e0 memsz 0x000000e0 flags r-x
  INTERP off    0x00000114 vaddr 0x08048114 paddr 0x08048114 align 2**0
         filesz 0x00000013 memsz 0x00000013 flags r--
    LOAD off    0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
         filesz 0x00d44814 memsz 0x00d44814 flags r-x
    LOAD off    0x00d45000 vaddr 0x08d8d000 paddr 0x08d8d000 align 2**12
         filesz 0x0004d304 memsz 0x00062f38 flags rw-
 DYNAMIC off    0x00d8fc5c vaddr 0x08dd7c5c paddr 0x08dd7c5c align 2**2
         filesz 0x00000178 memsz 0x00000178 flags rw-
    NOTE off    0x00000128 vaddr 0x08048128 paddr 0x08048128 align 2**2
         filesz 0x00000020 memsz 0x00000020 flags r--
EH_FRAME off    0x00d44800 vaddr 0x08d8c800 paddr 0x08d8c800 align 2**2
         filesz 0x00000014 memsz 0x00000014 flags r--
 
Dynamic Section:
  NEEDED      libmozjs.so
  NEEDED      libxpcom.so
  NEEDED      libplds4.so
  NEEDED      libplc4.so
  NEEDED      libnspr4.so
  NEEDED      libpthread.so.0
  NEEDED      libdl.so.2
  NEEDED      libgtk-1.2.so.0
  NEEDED      libgdk-1.2.so.0
  NEEDED      libgmodule-1.2.so.0
  NEEDED      libglib-1.2.so.0
  NEEDED      libXi.so.6
  NEEDED      libXext.so.6
  NEEDED      libX11.so.6
  NEEDED      libm.so.6
  NEEDED      libsmime3.so
  NEEDED      libssl3.so
  NEEDED      libnss3.so
  NEEDED      libsoftokn3.so
  NEEDED      libXt.so.6
  NEEDED      libXp.so.6
  NEEDED      libxpcom_compat.so
  NEEDED      libc.so.6
  INIT        0x84b59ac
  FINI        0x8be5af0
  HASH        0x8048148
  STRTAB      0x81a5e84
  SYMTAB      0x80a7a64
  STRSZ       0x2eb1a3
  SYMENT      0x10
  DEBUG       0x0
  PLTGOT      0x8dd7e88
  PLTRELSZ    0x44d8
  PLTREL      0x11
  JMPREL      0x84b14d4
  REL         0x84b0e3c
  RELSZ       0x698
  RELENT      0x8
  VERNEED     0x84b0cac
  VERNEEDNUM  0x6
  VERSYM      0x8491028
 
Version References:
  required from libm.so.6:
    0x0d696910 0x00 13 GLIBC_2.0
  required from libpthread.so.0:
    0x0d696912 0x00 18 GLIBC_2.2
    0x0d696910 0x00 11 GLIBC_2.0
  required from libssl3.so:
    0x03892642 0x00 09 NSS_3.2
    0x03892644 0x00 07 NSS_3.4
  required from libc.so.6:
    0x0d696912 0x00 17 GLIBC_2.2
    0x09691f73 0x00 16 GLIBC_2.1.3
    0x0d696911 0x00 15 GLIBC_2.1
    0x0d696910 0x00 06 GLIBC_2.0
  required from libsmime3.so:
    0x09264691 0x00 20 NSS_3.4.1
    0x03892644 0x00 14 NSS_3.4
    0x03892646 0x00 08 NSS_3.6
    0x03892642 0x00 05 NSS_3.2
  required from libnss3.so:
    0x03892645 0x00 19 NSS_3.5
    0x03892646 0x00 12 NSS_3.6
    0x03892643 0x00 10 NSS_3.3
    0x03892644 0x00 04 NSS_3.4
    0x03892642 0x00 03 NSS_3.2
    0x03892647 0x00 02 NSS_3.7
 

Thank you very much, Christian.


-- 
Christian Palomino
mailto::zakhrin@freeshell.org
http://www.palominocassain.com
GPG FingerPrint: BFF6 784E 01D1 1722 90C2 276A 00CD 900D 624D 100F


--Signature=_Tue__2_Mar_2004_13_32_51_+0100_SMwsEXv/JnoqbeyE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFARH74AM2QDWJNEA8RAlaWAJ0f+C/cD/eYVVKX6Td56xYnHT3xawCfY0QG
6Mfqdt4t0kULNaL9AJU1oxc=
=61E8
-----END PGP SIGNATURE-----

--Signature=_Tue__2_Mar_2004_13_32_51_+0100_SMwsEXv/JnoqbeyE--