Giter Site home page Giter Site logo

Comments (5)

qyvlik avatar qyvlik commented on June 1, 2024

登陆容器,直接执行 build.sh报如下:

make: Nothing to be done for 'all'.
gcc -g -rdynamic -o marketprice.exe  mp_message.o  mp_config.o  mp_main.o  mp_kline.o  mp_server.o -L ../utils -lutils -L ../network -lnetwork -Wl,-Bstatic -lev -ljansson -lmpdec -lrdkafka -lz -llz4 -lssl -lcrypto -lhiredis -Wl,-Bdynamic -lm -lpthread -ldl -lcurl -lstdc++
/usr/bin/ld: cannot find -llz4
collect2: error: ld returned 1 exit status
../makefile.inc:16: recipe for target 'marketprice.exe' failed
make: *** [marketprice.exe] Error 1
make: Nothing to be done for 'all'.
make: Nothing to be done for 'all'.
make: Nothing to be done for 'all'.
make: Nothing to be done for 'all'.

from viabtc_exchange_server_docker.

qyvlik avatar qyvlik commented on June 1, 2024

删除容器,重新执行 docker-compose up
几个警告和报错:

debconf: delaying package configuration, since apt-utils is not installed

configure: WARNING: zlib disabled

configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.

configure: WARNING: libpsl was not found

configure: WARNING: Cannot find libraries for IDN support: IDN disabled

configure: WARNING: disabling built-in manual

/usr/bin/ld: cannot find -llz4
collect2: error: ld returned 1 exit status
../makefile.inc:16: recipe for target 'marketprice.exe' failed
make: *** [marketprice.exe] Error 1

from viabtc_exchange_server_docker.

qyvlik avatar qyvlik commented on June 1, 2024

https://www.jianshu.com/p/c7d1d5140e7e
可以手动安装 liblz4-dev,可以在 安装 kafka 后进行安装

sudo apt-get update
sudo apt-get install -y liblz4-dev

from viabtc_exchange_server_docker.

qyvlik avatar qyvlik commented on June 1, 2024

fix in https://github.com/qyvlik/viabtc_exchange_server_docker

from viabtc_exchange_server_docker.

johnngo avatar johnngo commented on June 1, 2024

I came across the same problem, how did you end up fixing it?

I tried sudo apt-get update
then sudo apt-get install -y liblz4-dev

from viabtc_exchange_server_docker.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.