E
E
Evgeny Ivanovich2019-09-13 19:18:32
linux
Evgeny Ivanovich, 2019-09-13 19:18:32

Why is the library not found in Ubuntu 19.04?

In general, this is the thing. Installing the 32 bit zlib library

[email protected]:/usr/lib$ sudo apt-get install zlib1g:i386
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Уже установлен пакет zlib1g:i386 самой новой версии (1:1.2.11.dfsg-1ubuntu2).
Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.

Then I try to find it
[email protected]:/usr/lib$ locate libz.a
/usr/lib/x86_64-linux-gnu/libz.a

But there is only a 64 bit version, why is that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DaHek, 2019-09-13
@DaHek

You need the zlib1g-dev:i386 package as zlib1g:i386 only contains a dynamic library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question