ipchain icon indicating copy to clipboard operation
ipchain copied to clipboard

binary build no dependencies remark

Open pynixwang opened this issue 7 years ago • 8 comments

👎

pynixwang avatar Sep 05 '18 09:09 pynixwang

@pynixwang You can refer to the Building IPChain Core module.

summerxue1992 avatar Sep 21 '18 01:09 summerxue1992

@summerxue1992 if not static linking, we need install libs, it's not good I must execute it and see can not load shared library and guess what library.

pynixwang avatar Sep 21 '18 02:09 pynixwang

@pynixwang Do you simply need to run the environment?The source code is an introduction to the environment that needs to be installed for compilation, and if it's simply run-time environment dependencies, you can pack the files that are statically dependent and install them in scripts, which is not a problem.

summerxue1992 avatar Sep 21 '18 02:09 summerxue1992

@pynixwang If you are interested, you need to modify the compilation link, and then specify the directory of the library you depend on.

summerxue1992 avatar Sep 21 '18 02:09 summerxue1992

yes runtime dependencies.

just give a remark like this

sudo apt install xxx yyy zzz

pynixwang avatar Sep 21 '18 07:09 pynixwang

or give a docker image with all dependencies and a run command.

pynixwang avatar Sep 21 '18 07:09 pynixwang

Please reference document "Building IPChain Core" of the path https://github.com/IPCChain/ipchain/blob/master/README.md .

FlyLiuYan avatar Sep 21 '18 09:09 FlyLiuYan

@FlyLiuYan runtime dependencies. no more xxx-dev.

pynixwang avatar Sep 21 '18 17:09 pynixwang