Skip to content

Binary compiled with Dockerfile.mono fails to run #30

Closed
@ricardoalcantara

Description

@ricardoalcantara

I have used build.sh and achieve to build all dockers images I needed then I ran:

docker run -it --rm \
--name build_mono \
-v $(pwd)/godot-master:/root/godot \
-v $(pwd)/build.linux.mono.glue.sh:/root/build.sh \
-w /root/ \
godot-mono-glue:master-mono-6.6.0.161 bash build.sh

docker run -it --rm \
--name build_mono \
-v $(pwd)/godot-master:/root/godot \
-v $(pwd)/build.linux.mono.sh:/root/build.sh \
-w /root/ \
godot-mono:master-mono-6.6.0.161 bash build.sh

build.linux.mono.glue.sh

cd godot
scons -j8 p=server tools=yes module_mono_enabled=yes mono_glue=no
bin/godot_server.x11.tools.64.mono --generate-mono-glue modules/mono/glue

build.linux.mono.sh

cd godot
scons -j8 p=x11 target=release_debug tools=yes module_mono_enabled=yes
cd bin
./godot.x11.tools.64.mono
./godot.x11.tools.64.mono: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./godot.x11.tools.64.mono)
./godot.x11.tools.64.mono: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./godot.x11.tools.64.mono)

System:
Distributor ID: Ubuntu
Description: Pop!_OS 18.04 LTS
Release: 18.04
Codename: bionic

docker --version
Docker version 19.03.5, build 633a0ea838

build-containers commit 6466947

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