Closed Kruizi closed 4 years ago
You used libc++ as C++ standard library, but didn't link it to your go binary.
You used libc++ as C++ standard library, but didn't link it to your go binary.
Thank you
Tell me please, how create link to my go binary ?
Sorry, I figured out how to create a link, thanks
Hello
I am building the project according to the instructions I am building to the instructions build Ubuntu 16 and clang ++
apt-get update && apt-get upgrade && apt-get install make git zlib1g-dev libssl-dev gperf php cmake clang libc++-dev nano wget golang && git clone https://github.com/tdlib/td.git && cd td && rm -rf build && mkdir build && cd build
export CXXFLAGS="-stdlib=libc++"
CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
cmake --build . --target install
After the build, I run go-tdlib I get an error that contains a lot of lines message. I attach file with errors at the comment.
The script ran on Ubuntu 16.04 from under docker-compose
What could be the problem ?
error_logs.txt