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

Can't build on ubuntu 12.04. #28

Closed
vidhunv1 opened this issue Dec 19, 2013 · 5 comments
Closed

Can't build on ubuntu 12.04. #28

vidhunv1 opened this issue Dec 19, 2013 · 5 comments

Comments

@vidhunv1
Copy link

Managed to find the corresponding libraries for readline and libconfig on ubuntu.
Did the following.

sudo apt-get install libconfig8-dev - libconfig

sudo apt-get install libreadline-gplv2-dev readline

configure 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

@GRbit
Copy link

GRbit commented Dec 19, 2013

You probably need to install libedit2

@vysheng
Copy link
Owner

vysheng commented Dec 19, 2013

You need to install libreadline-dev. It may work with libedit, but libreadline is better.

@vidhunv1
Copy link
Author

All those(libedit2 and libreadline-dev) are installed, does not seem to work. Throws the same error.

@vysheng
Copy link
Owner

vysheng commented Dec 20, 2013

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.

@vidhunv1
Copy link
Author

seems like a configurations issue, thanks for your help. Solved.

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

3 participants