Skip to content

make build failed #18

@ElonJTrump

Description

@ElonJTrump

Hello,

I installed requirement lib from readme on Ubuntu 18.04

After run "make build" it's almost done but error

[ 92%] Linking CXX executable openwebtorrent-tracker libuSockets.a(openssl.c.o): In function BIO_s_custom_create':
openssl.c:(.text+0x69): undefined reference to BIO_set_init' libuSockets.a(openssl.c.o): In function BIO_s_custom_write':
openssl.c:(.text+0xbd): undefined reference to BIO_get_data' libuSockets.a(openssl.c.o): In function BIO_s_custom_read':
openssl.c:(.text+0x15a): undefined reference to BIO_get_data' libuSockets.a(openssl.c.o): In function ssl_on_open':
openssl.c:(.text+0x298): undefined reference to BIO_up_ref' openssl.c:(.text+0x2ad): undefined reference to BIO_up_ref'
libuSockets.a(openssl.c.o): In function us_internal_init_loop_ssl_data': openssl.c:(.text+0x6f9): undefined reference to OPENSSL_init_ssl'
openssl.c:(.text+0x70f): undefined reference to BIO_meth_new' openssl.c:(.text+0x738): undefined reference to BIO_meth_set_create'
openssl.c:(.text+0x754): undefined reference to BIO_meth_set_write' openssl.c:(.text+0x770): undefined reference to BIO_meth_set_read'
openssl.c:(.text+0x78c): undefined reference to BIO_meth_set_ctrl' openssl.c:(.text+0x7de): undefined reference to BIO_set_data'
openssl.c:(.text+0x7fa): undefined reference to BIO_set_data' libuSockets.a(openssl.c.o): In function us_internal_free_loop_ssl_data':
openssl.c:(.text+0x885): undefined reference to BIO_meth_free' libuSockets.a(openssl.c.o): In function free_ssl_context':
openssl.c:(.text+0xa15): undefined reference to SSL_CTX_get_default_passwd_cb_userdata' libuSockets.a(openssl.c.o): In function create_ssl_context_from_options':
openssl.c:(.text+0xa4a): undefined reference to TLS_method' openssl.c:(.text+0xaa4): undefined reference to SSL_CTX_set_min_proto_version'
collect2: error: ld returned 1 exit status
CMakeFiles/openwebtorrent-tracker.dir/build.make:99: recipe for target 'openwebtorrent-tracker' failed
make[3]: *** [openwebtorrent-tracker] Error 1
make[3]: Leaving directory '/home/openwebtorrent-tracker/build'
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/openwebtorrent-tracker.dir/all' failed
make[2]: *** [CMakeFiles/openwebtorrent-tracker.dir/all] Error 2
make[2]: Leaving directory '/home/openwebtorrent-tracker/build'
Makefile:83: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/openwebtorrent-tracker/build'
Makefile:7: recipe for target 'build' failed
make: *** [build] Error 2`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions