dhiway / cord

CORD - Enterprise Blockchain Framework
https://cord.network
GNU General Public License v3.0
161 stars 112 forks source link

Fix static cord binary's dependency #226

Open NiranjanAP opened 1 year ago

NiranjanAP commented 1 year ago

Description

Below is the error I got when I ran the cord binary build on ubuntu-22.04 (in ec2) on a debian machine on GCP.

amar@cord-test-1:~$ ./cord-static-x86-ubuntu key generate-node-key --file ./data/node-key ./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.30' not found (required by ./cord-static-x86-ubuntu) ./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.29' not found (required by ./cord-static-x86-ubuntu) ./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by ./cord-static-x86-ubuntu) ./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.34' not found (required by ./cord-static-x86-ubuntu) ./cord-static-x86-ubuntu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./cord-static-x86-ubuntu)

Highlight is, we surely need libc to be of same version on machines where it is build. Hence when we publish artefacts, we should make sure to name it properly with arch used, and also libc version.

Goals

Expected Outcome

Acceptance Criteria

Implementation Details

NA

Mockups / Wireframes

NA


Product Name

CORD

Organization Name

Dhiway

Domain

Blockchain

Tech Skills Needed

Infrastructure, Build tools

Mentor(s)

@amarts @NiranjanAP

Complexity

Medium

Category

Deployment

Sub Category

Technical Debt

roynrishingha commented 1 year ago

@NiranjanAP @amarts Is this issue only for C4GT? Otherwise I would pick it up.

amarts commented 1 year ago

@roynrishingha you can pick up and finish. Idea is, any issue in CORD as its opensource repository, we want to list it in C4GT portal too, so many students can pick it up as a project. 'Who' picks it up is irrelevant after its open. From the project, we want the issue to be resolved.

smohan-dw commented 5 months ago

We can close this by adding a support matric for operating systems