| Anonymous | Login | Signup for a new account | 11-10-2008 10:48 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000387 | [uClibc] Shared Library Support | major | always | 08-14-05 09:08 | 08-15-05 01:31 | ||||
| Reporter | hassold | View Status | public | ||||||
| Assigned To | uClibc | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 0.9.27 | ||||||
| Summary | 0000387: missing _dl_progname symbol when using libdl from static executables | ||||||||
| Description | Patch 11124-11126 (Removed hardcoded ld-uClibc.so.0 in uClibc) in svn tree breaks libdl usage from static executable, since symbol _dl_progname is now defined in ldso.c, which is not available from static executables. | ||||||||
| Additional Information |
A "fake" (empty) _dl_progname symbol must be defined in libdl.c when compiling static libdl (i.e. when __LIBDL_SHARED__ macro is not defined), together with _dl_library_path, _dl_ldsopath, _dl_errno, etc...). That is, add: const char *_dl_progname = ""; /* Program name */ just before char *_dl_library_path = 0; /* Where we look for libraries */ (patch attached) |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |