Bug 101048
| Summary: | DSO link-errors with libdb_cxx.so | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Enrico Scholz <rh-bugzilla> |
| Component: | db4 | Assignee: | Jeff Johnson <jbj> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | jakub |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-10-21 19:39:44 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 100643 | ||
That means libdb_cxx has been built incorrectly.
nm -Du /usr/lib/libdb_cxx.so | grep __dso_handle
U __dso_handle
Quick guess is that ld -shared instead of g++ -shared is used to link that
shared library.
I'll take this one ... This is fixed in current rawhide. |
Description of problem: | $ echo 'int main() {}' >x.c | $ g++ x.c -ldb_cxx | /usr/bin/ld: a.out: hidden symbol `__dso_handle' in | /usr/lib/gcc-lib/i386-redhat-linux/3.3/crtbegin.o is referenced by DSO | collect2: ld returned 1 exit status Version-Release number of selected component (if applicable): db4-devel-4.1.25-7 gcc-3.3-14 binutils-2.14.90.0.4-23