Bug 106837

Summary: Mozilla doesn't prelink
Product: [Fedora] Fedora Reporter: Davide Moretti <dave>
Component: mozillaAssignee: Christopher Aillon <caillon>
Status: CLOSED UPSTREAM QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: dwmw2
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-31 11:14:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Davide Moretti 2003-10-11 14:45:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031009

Description of problem:
after a prelink run, in the /var/log/prelink.log there is the followings:

/usr/sbin/prelink: /usr/lib/mozilla-1.4.1/mozilla-bin: Could not parse
`/usr/lib/mozilla-1.4.1/mozilla-bin: error while loading shared libraries:
libmozjs.so: cannot open shared object file: No such file or directory'
/usr/sbin/prelink: /usr/lib/mozilla-1.4.1/regchrome: Could not parse
`/usr/lib/mozilla-1.4.1/regchrome: error while loading shared libraries:
libxpcom.so: cannot open shared object file: No such file or directory'

libmozjs.so and libxpcom.so are in /usr/lib/mozilla-1.4.1

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. run /etc/cron.daily/prelink
2. examine /var/log/prelink.log
3.
    

Additional info:

Adding /usr/lib/mozilla-1.4.1 to /etc/ld.so.conf, and running ldconfig seems to
resolve the issue.

There are other errors in the prelink.log not related to this:

/usr/sbin/prelink: /usr/bin/emacs-21.3: COPY relocations don't point into .bss
or .sbss section
Prelinking /usr/lib/openoffice/program/getstyle-gnome
/usr/sbin/prelink: /usr/lib/openoffice/program/getstyle-gnome: Not enough room
to add .dynamic entry
Prelinking /usr/lib/openoffice/program/msgbox-gnome
/usr/sbin/prelink: /usr/lib/openoffice/program/msgbox-gnome: Not enough room to
add .dynamic entry

I think these need to be fixed changing something in the compilation phase of
these programs.

Comment 1 Jakub Jelinek 2003-10-11 16:00:43 UTC
FYI all these warnings just mean that some programs are not prelinked, prelinking
happens for the rest of the distro.
emacs will never be prelinkable until it gets rid of its crappy ELF dumper,
OO.o maintainer has been notified about the OO.o helper programs.
mozilla should be solved by adding -Wl,-rpath,'$ORIGIN'
to mozilla-bin link line (and epiphany by adding -Wl,-rpath,/usr/lib/mozilla-1.4.1
or whatever mozilla was it linked against).

Comment 2 Christopher Aillon 2005-03-31 11:10:29 UTC
*** Bug 104406 has been marked as a duplicate of this bug. ***

Comment 3 Christopher Aillon 2005-03-31 11:14:36 UTC
Just filed upstream https://bugzilla.mozilla.org/show_bug.cgi?id=288423