Home > OS > How Linux program static link glibc related library, published applications do not rely on glibc ver
How Linux program static link glibc related library, published applications do not rely on glibc ver
Time:09-21
Recently released a Linux program run well on their own development environment, the program to the target customers will prompt a version is too low, now know enough to download the new version of glibc upgrade customer target system, but customers don't want to, hope to be able to launch a glibc related to static link library files, strives for the great god give directions, or give a demo reference, thank you!
Add that other vendors need to link a program. So the dynamic library,
CodePudding user response:
It is not difficult to you? Compile you use dynamic library to static libraries, to join you the final executable file, glibc to download the source code,,,, don't say, point now ~
CodePudding user response:
Dynamic library that is offered by other manufacturers, if really no other way to contact the manufacturer may change a static library, but glibc should be not so simple to source or compile static library to the project will be able to pass it, I have tried, but will somehow prompts some, such as program entrance didn't find and provide a reference example of great god had done
CodePudding user response:
Feeling in the customer compile more simple some similar environment, or docker. All static compilation does not rely on running environment should be impossible