Hi Mr. Random ;)
2010/7/22 J. Random Coder <jrandomcoder@gmail.com>:
That is the first of many errors you will encounter unfortunately.
APT in its current (buildsystem)state simple can't be statical linked
(anymore - i think it worked at some point in the [distant] past).
Feel free to make it work again, it shouldn't be too hard as some
code to handle it is already included with ONLYSTATICLIBS.
apt depends on libc6, libgcc1 and libstdc++6
(In the experimental version libz is added to the list)
The not required apt-utils additional on libdb{4.{6,7,8,9},5.0}
depending on in which environment you will compile it.
(libcurl is needed only for the optional apt-transport-https)
I think it will be really hard to omit these libraries even on a
miniature system as a lot of core packages depend on these libs
so compiling APT static will most likely bring nothing beside
increased size requirements…
Best regards,
David Kalnischkies