Open Urkman opened 5 months ago
Do you have libcurl-dev
installed?
Yes, that was missing. I also needed to install libsasl2-dev
But now I get this:
Building for production...
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: cannot find -lstdc++
/home/vapor/server-dev/.build/x86_64-unknown-linux-gnu/release/CNIOBoringSSL.build/ssl/d1_both.cc.o:d1_both.cc:function __clang_call_terminate: error: undefined reference to '__cxa_begin_catch'
/home/vapor/server-dev/.build/x86_64-unknown-linux-gnu/release/CNIOBoringSSL.build/ssl/d1_both.cc.o:d1_both.cc:function __clang_call_terminate: error: undefined reference to 'std::terminate()'
/home/vapor/server-dev/.build/x86_64-unknown-linux-gnu/release/CNIOBoringSSL.build/ssl/d1_both.cc.o:d1_both.cc:DW.ref.__gxx_personality_v0: error: undefined reference to '__gxx_personality_v0'
/home/vapor/server-dev/.build/x86_64-unknown-linux-gnu/release/CNIOBoringSSL.build/ssl/ssl_key_share.cc.o:ssl_key_share.cc:typeinfo for bssl::CNIOBoringSSL::(anonymous namespace)::ECKeyShare: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
/home/vapor/server-dev/.build/x86_64-unknown-linux-gnu/release/CNIOBoringSSL.build/ssl/ssl_key_share.cc.o:ssl_key_share.cc:typeinfo for bssl::CNIOBoringSSL::(anonymous namespace)::X25519KeyShare: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
/home/vaporserver-dev/.build/x86_64-unknown-linux-gnu/release/CNIOBoringSSL.build/ssl/ssl_key_share.cc.o:ssl_key_share.cc:typeinfo for bssl::CNIOBoringSSL::(anonymous namespace)::X25519Kyber768KeyShare: error: undefined reference to 'vtable for __cxxabiv1::__si_class_type_info'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
/home/vapor/server-dev/.build/x86_64-unknown-linux-gnu/release/CNIOBoringSSL.build/ssl/ssl_key_share.cc.o:ssl_key_share.cc:typeinfo for bssl::CNIOBoringSSL::SSLKeyShare: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info'
/usr/bin/ld.gold: the vtable symbol may be undefined because the class is missing its key function
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
[1/2] Linking Run
Until adding this lib everything was working fine :(
Are you building in a docker image? If so could you share your docker file?
@Urkman can you please post a solution for this , i am facing almost similar problem
@ayush-yadav001 what's the error message? The above error looks like a memory issue
@ayush-yadav001 could you also share how your are building?
My project works fine on my Mac ()M2 MacBook. But when I try to build it on an Ubuntu Server I get this error:
Any idea?