Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Berkeley DB Family
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Mar 20, 2012 4:45 PM by
Compiling command line utilities for Linux with static libc
Mar 20, 2012 4:45 PM
The following command used to compile and link BerkeleyDB with both static libdb and static libc:
env LDFLAGS=-static ../dist/configure --disable-shared
Now the command only statically links libdb and not libc.
[root@fedora8 ~]# ldd /usr/local/BerkeleyDB.5.3/bin/db_dump
linux-gate.so.1 => (0x00110000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00c15000)
libc.so.6 => /lib/libc.so.6 (0x00a88000)
It appears that the link of the command line utilities has now been moved into "make install".
Can anyone suggest how to also force a static link of libc?
This content has been marked as final.
Show 0 replies