Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No zlib found #1650

Open
burdeyniyua opened this issue Mar 11, 2020 · 5 comments
Open

No zlib found #1650

burdeyniyua opened this issue Mar 11, 2020 · 5 comments

Comments

@burdeyniyua
Copy link

joker@debianSRV:~/tg$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing clock_gettime... none required
checking for library containing backtrace... none required
checking for event_base_new in -levent... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
configure: error: No zlib found

Hello, everyone! I want configure telegram-cli, but I have error with zlib.
I have Debian, python2.7
Help me please

@jorgonzalez
Copy link

#1641

@burdeyniyua
Copy link
Author

FIXED

git clone --recursive https://github.com/madler/zlib.git && cd zlib && ./configure
sudo make install

@mpak2
Copy link

mpak2 commented Mar 18, 2020

you need add lib-dev
sudo apt install zlib1g-dev

@karawitan
Copy link

@burdeyniyua may I suggest to post issues/PR there instead; https://github.com/kenorb-contrib/tg ? this is the active fork of tg

@pundoo
Copy link

pundoo commented Feb 22, 2021

For cygwin : apt-cyg install zlib-devel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants