Как обновить libc на Debian Squeeze?

2376
hd.

Я хочу установить сканер Arachni на мою сжимающуюся коробку Debian. Но у него есть проблемы с версией glibc. Нужен glibc 2.15, но на моем Debian установлено 2.11.

Как я могу обновить мой libc с 2.11 до 2.15?

2

2 ответа на вопрос

2
Tasos Laskos

Вы можете использовать сценарии сборки Arachni для сборки пакета для вашей системы:

wget -O - https://raw.github.com/Arachni/build-scripts/master/bootstrap.sh | bash 

У вас должно быть несколько доступных зависимостей dev, таких как gcc, g ++ и другие, но сценарии сборки проверят на наличие env-здравомыслия и сообщат, если вы что-то упустили.

0
Isaac Freeman

The libc library is used by virtually every program on your system, and as such it is no simple task to merely update it to a newer version. Doing so will likely break everything else on your system. The best recommendation would be to find a version of Arachni which was compiled against the libc version already on your system, preferably one which is specifically packaged for Squeeze (a quick Google search, unfortunately, doesn't seem to yield any packages for Debian). Alternatively, you could download the source and build it for your system against the right library versions. Of course, you will need to install the -dev packages for the required libraries.

EDIT: This is the unfortunate thing about providing binary packages for Linux applications. Different distributions provide different versions of libraries, and you really should be using packages compiled against those specific versions (or compatible versions). This normally isn't a problem because most applications build against most of the popular distributions and provide RPMs and Debs for them. Installing from raw tarballs is usually problematic, even without library issues. This really should the software developers responsibility to provide suitable binary packages for their users.

Похожие вопросы