---of deploying Cygwin in Windows Tar/openssl

Source: Internet
Author: User

Scenario Requirements:

In order to be able to port the run on Linux to extract OpenSSL encrypted tar compression package code directly to the window to use without rewriting the part of the code, you need to be able to support tar and OpenSSL command line decryption on the window. For how to support the shell on window, refer to the previous blog post.

First, verify that the next Cygwin is installed with OpenSSL if it is not supported.

The deployment of the environment is simply a matter of copying several files to the bin directory under the operating environment.

So, how do you determine which files you need to copy?

Because it is the shell command of the decryption of OpenSSL, then Sh.exe,openssl.exe must not run away, there is also the dependence of sh.exe,openssl.exe;

Perform ldd sh.exe to view sh dependencies:

Perform ldd openssl.exe to view OpenSSL dependencies:

Copy the libraries that depend on the red box to the bin directory in the running environment.

  

---of deploying Cygwin in Windows Tar/openssl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.