Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing requirement boost-json to Dockerfile #4888

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

josuedhg
Copy link
Contributor

@josuedhg josuedhg commented Jan 28, 2025

Pull Request Prelude

Changes Proposed

This just add a missing dependency boost-json to Dockerfile
without it running the resulting docker container is going to throw the following error:
Error loading shared library libboost_json.so.1.82.0: No such file or directory (needed by /bin/tfs) Error relocating /bin/tfs: _ZN5boost4json5arrayC1ERKS1_NS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectC1ERKS1_NS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZNK5boost4json6object11if_containsENS_4core17basic_string_viewIcEE: symbol not found Error relocating /bin/tfs: _ZN5boost4json18monotonic_resourceC1EmNS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5arrayD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json5arrayC1ESt16initializer_listINS0_9value_refEENS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5parseENS_4core17basic_string_viewIcEERNS_6system10error_codeENS0_11storage_ptrERKNS0_13parse_optionsE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueaSENS_4core17basic_string_viewIcEE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5value7destroyEv: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueC1ERKS1_NS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json9serializeB5cxx11ERKNS0_5valueE: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectixENS_4core17basic_string_viewIcEE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueC1ESt16initializer_listINS0_9value_refEENS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json5array9push_backEONS0_5valueE: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectC1EOS1_: symbol not found Error relocating /bin/tfs: _ZN5boost4json18monotonic_resourceD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json6object6empty_E: symbol not found Error relocating /bin/tfs: _ZN5boost4json5array6empty_E: symbol not found

Issues addressed: #4890

How to test:
build the container
docker build -t server .

run the container
docker run server

  • before changes it will shows the previously mentioned error trace
  • after changes it should fail in an elegant way because the config.lua is not available showing the following message
    [Error - ConfigManager::load] cannot open config.lua: No such file or directory ERROR: Unable to load config.lua! No services running. The server is NOT online.

Signed-off-by: Josue David Hernandez Gutierrez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant