Red Hat Bugzilla – Bug 237477
multiple copies of statically-linked libltdl
Last modified: 2013-07-02 23:12:55 EDT
Description of problem:
libodbcpsql, libodbcinst and libtemplate all statically link copies of libltdl:
# nm -D /usr/lib/libodbcinst.so.1.0.0 | grep lt_
4e8e41f0 T lt_dladderror
4e8e4b90 T lt_dladdsearchdir
4e8e3d00 T lt_dlcaller_get_data
Is this a big problem? The changelog notes
Use private libltdl so we can omit RTLD_GLOBAL from dlopen flags (bz #161399)
so I'm worried about suffering a regression if we try to use libltdl.so.
The copy is not really "private" since it exposes global symbols. Impact of
this type of issue is:
1) bloat in shipped packages and on disk after installation by shipping N copies
of the same code
2) symbol conflicts when some other library uses this libraries lt_blah symbol
rather than the system libltdl's. If the local copy is modified and/or has a
different ABI to the system libltdl this can be a big problem.
3) the stale copy of the copied library has bugs not fixed by the system libltdl
Solving (2) without (1) is possible by ensuring the lt_* symbols exposed here
are not made global symbols, e.g. by linking the library using
-export-symbols-regex <SOMETHING> to limit the symbols which are exported.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '9'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 9's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 9 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
I had forgotten about this bug, but it seems to be fixed as of F11, as a consequence of updating unixODBC to 2.2.14:
$ nm -D /usr/lib64/libodbcinst.so.2.0.0 | grep lt_
Would you confirm it looks okay now?