-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Can't build on ubuntu 12.04. #28
Comments
You probably need to install libedit2 |
You need to install libreadline-dev. It may work with libedit, but libreadline is better. |
All those(libedit2 and libreadline-dev) are installed, does not seem to work. Throws the same error. |
Did you ran ./configure after installing libreadline? (I've installed ubuntu 12.04 in virtual server, seems to work fine). If it doesn't help, please give your configure output. |
seems like a configurations issue, thanks for your help. Solved. |
Managed to find the corresponding libraries for readline and libconfig on ubuntu.
Did the following.
sudo apt-get install libconfig8-dev
- libconfigsudo apt-get install libreadline-gplv2-dev
readlineconfigure runs smoothly but when making throws up the following error.
gcc main.o loop.o interface.o net.o mtproto-common.o mtproto-client.o queries.o structures.o binlog.o -lm -lcrypto -lz -lssl -rdynamic -ggdb -ledit -lrt -lconfig -o telegram /usr/bin/ld: cannot find -ledit collect2: ld returned 1 exit status make: *** [telegram] Error 1
The text was updated successfully, but these errors were encountered: