Stuart Jansen wrote:
On Wed, 2003-11-12 at 11:41, Jacob Fugal wrote:

/usr/lib/MozillaThunderbird/thunderbird-bin


Did you makes sure all thunderbird files/libraries are readable by
world? I'd start by checking libraries.

ldd /usr/lib/MozillaThunderbird/thunderbird-bin

to get a list of the libraries it links.

I thought it might be something like that but didn't know how to firgure out which libraries it used. Thanks for the tidbit. The output of ldd[1] is the same as root and as myself (as expected, but I was just covering my bases by checking and verifying). Every[2] library that ldd tells me about for thunderbird-bin has permissions of 755. So unless write access is necessary (I wouldn't think so) it's not a library permission problem.


However I did notice that ldd said that a couple of the libraries weren't found (libmozjs.so and libxpcom.so, see [1]). Doing a locate on these names finds both in /usr/lib/MozillaThunderbird/. Grepping through run-mozilla.sh, I see it sets LD_LIBRARY_PATH to include /usr/lib/MozillaThunderbird, so thunderbird-bin should be able to find them. Just to double check I turned on debug output and sure 'nuff, there's /usr/lib/MozillaThunderbird as part of LD_LIBRARY_PATH. Both these two .so's are mod 755 as well.

Just to experiment, I tried changing the permissions on one of the libraries (libmozjs.so) to be 700 so that thunderbird-bin wouldn't be able to link it when run as a regular user. Running MozillaThunderbird on those circumstances actually produces useful error output[3]. Since I'm not seeing any such output in my case, I don't think it's a shared library problem at all (either not found or with wrong permissions).

Any other ideas?

Jacob Fugal

[1] bash-2.05b$ ldd /usr/lib/MozillaThunderbird/thunderbird-bin
libmozjs.so => not found
libxpcom.so => not found
libplds4.so => /usr/lib/libplds4.so (0x4002b000)
libplc4.so => /usr/lib/libplc4.so (0x4002f000)
libnspr4.so => /usr/lib/libnspr4.so (0x40034000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40071000)
libdl.so.2 => /lib/libdl.so.2 (0x400c3000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x400c6000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40224000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4025e000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40261000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40286000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4028f000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4029f000)
libm.so.6 => /lib/libm.so.6 (0x40381000)
libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x403a3000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x40459000)
libc.so.6 => /lib/libc.so.6 (0x40462000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


[2] Except libgcc_s.so.1, which had permissions 644. But I changed it to 755 and it didn't make a difference.

[3] bash-2.05b$ MozillaThunderbird
/usr/lib/MozillaThunderbird/thunderbird-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
127



____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to