Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 101048 - DSO link-errors with libdb_cxx.so
Summary: DSO link-errors with libdb_cxx.so
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: db4
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
 
Reported: 2003-07-28 19:51 UTC by Enrico Scholz
Modified: 2007-04-18 16:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-10-21 19:39:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2003-07-28 19:51:05 UTC
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

Comment 1 Jakub Jelinek 2003-07-28 20:15:05 UTC
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.

Comment 2 Jeff Johnson 2003-09-26 01:48:58 UTC
I'll take this one ...

Comment 3 Bill Nottingham 2003-10-21 19:39:44 UTC
This is fixed in current rawhide.


Note You need to log in before you can comment on or make changes to this bug.