View Single Post
Posts: 9 | Thanked: 2 times | Joined on Feb 2014
#13
Hi,

thanks, NerdKnight for the work with Telegram Messenger CLI. I try to execute the client you compile but I have some problem with the decrypt. I try to explain what I do.

1.- download your binaries and source code for arm

2.- copy bin/telegram to /usr/local/bin
copy bin/tg.pub to /etc/telegram/server.pub

3.- sudo apt-get install libmpc2 libmpfr1ldbl libgmp3c2 libutils2.22

4.- nano .profile with PATH=$PATH:/usr/local/bin/

5.- when execute telegram
$ telegram -k /etc/telegram/server.pub
dont find libconfig.so.8

6.- sudo apt-get install libconfig8

7.- $ telegram -k /etc/telegram/server.pub

telegram: mtproto-client.c:435: process_dh_answer: Assertion `decrypt_buffer[14] == 2' failed.
Signal 6 received
telegram(print_backtrace+0x18)[0x10f7c]
telegram(sig_handler+0x20)[0x10fb4]
/lib/libc.so.6(__default_sa_restorer_v2+0x0)[0x402c5950]
/lib/libc.so.6(abort+0x180)[0x402c5b6c]
/lib/libc.so.6(__assert_fail+0xc8)[0x402bd620]
telegram(process_dh_answer+0x7a4)[0x1a53c]
telegram(rpc_execute+0x19c)[0x1ed2c]
telegram(try_rpc_read+0xc4)[0x17600]
telegram(connections_poll_result+0xdc)[0x17b2c]
telegram(net_loop+0xf8)[0x11cec]
telegram(loop+0x1fc)[0x12a9c]
telegram(main+0x5c)[0x103f8]
/lib/libc.so.6(__libc_start_main+0x108)[0x402ae974]
telegram[0x10438]

What I miss? Am I doing anything wrong? Need any gcc-4.8 or binutils lib?

Thanks a lot.