Bug 330821

Summary: Prelinking rhythmbox prints a warning
Product: [Fedora] Fedora Reporter: Daniel Qarras <dqarras>
Component: rhythmboxAssignee: Bastien Nocera <bnocera>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: jakub, triage
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: bzcl34nup
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-01 14:42: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 Daniel Qarras 2007-10-13 17:22:10 UTC
When prelinking rhythmbox the following warning is printed:

Prelinking /usr/lib/librhythmbox-core.so.0.0.0
prelink: Warning: /usr/lib/librhythmbox-core.so.0 has undefined non-weak symbols

Comment 1 Bastien Nocera 2007-10-18 09:49:38 UTC
Jakub, I believe that error is due to some symbols used in the library being in
the main binary (this is a library plugins link against).

Any ideas how to reproduce/debug that error message?

Comment 2 Jakub Jelinek 2007-10-18 10:17:37 UTC
This is not an error, just a warning.  There are legitimate cases where having
undefined symbols in
ldd -d -r .../lib*so*
is ok and one of them is if the library is not generally dlopenable, but relies
on the binary to satisfy those symbols.

On the other side, if the symbols are provided by some shared library, usually
it is just an on unintentional omission on the packager's part, which is bad
for multiple reasons:
1) if the symbols are versioned in the library where they are defined, the
   library with undefined non-weak symbols might use wrong versions of those 
   symbols
2) in prelink it causes unnecessary prelink conflicts which need to be resolved
   at runtime
3) if you e.g. dlopen that library and don't know you need the other library
   as well, the dlopen will likely fail

Comment 3 Bug Zapper 2008-04-04 14:05:20 UTC
Based on the date this bug was created, it appears to have been reported
during the development of Fedora 8. In order to refocus our efforts as
a project we are changing the version of this bug to '8'.

If this bug still exists in rawhide, please change the version back to
rawhide.
(If you're unable to change the bug's version, add a comment to the bug
and someone will change it for you.)

Thanks for your help and we apologize for the interruption.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 4 Bastien Nocera 2008-09-01 14:42:36 UTC
/usr/lib/librhythmbox-core.so.0 is a library private to rhythmbox, where all the missing symbols will be resolved when rhythmbox is launched. So the warning won't cause any harm.