glibc do not really static compile my project.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I compiled this same project on older system and can run other newer system fine.
when I come to compile this ssh project on latest ubuntu.
I got some warnings.
ssh.c:342: warning: conflicting types for built-in function âpowâ
/usr/lib/
(.text+0x676): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/
/home/admin/
/home/admin/
/usr/lib/
/home/admin/
/tmp/ccB7VpsK.o: In function `get':
ssh.c:(
It refused to run on any systems :(
glibc developers need to fix this asap or provide patch for this annoying bug.
is there any patches for this problem?
Thank you for reporting this bug, and trying to help make Ubuntu better. However, I don't believe that it's possible to really statically link against glibc. See <http:// people. redhat. com/drepper/ no_static_ linking. html> for more details.
You could try to convince upstream glibc developers to support real static linking, but that would be a major architectural change, and I'm not sure that it's technically possible. It's certainly outside the scope of changes that the Ubuntu project could reasonably make.