Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVP_aes_128_ctr entry point not found #394

Closed
Chocobo1 opened this issue Sep 16, 2015 · 10 comments
Closed

EVP_aes_128_ctr entry point not found #394

Chocobo1 opened this issue Sep 16, 2015 · 10 comments

Comments

@Chocobo1
Copy link

I downloaded PortableGit-2.5.2.2-64-bit.7z.exe on Windows 8.1 x64, and extract it at C:\Git.
Then I issued git fetch on my qbittorrent git repo, the error occurs and git crashed.

Here is a screenshot:
error

Translation:

The procedure entry point EVP_aes_128_ctr could not be located in the dynamic link library C:\Git\mingw64\bin\libssh2-1.dll
@nalla
Copy link

nalla commented Sep 16, 2015

@dscho
Copy link
Member

dscho commented Sep 16, 2015

How can I reproduce this?? I.e. what is the URL I need to clone to experience the same error?

@Chocobo1
Copy link
Author

what is the URL I need to clone to experience the same error?

I am not sure if you could reproduce this, anyway here is the info:

git remote -v
origin  https://chocobo1@github.com/Chocobo1/qBittorrent.git (fetch)
origin  https://chocobo1@github.com/Chocobo1/qBittorrent.git (push)
upstream        https://github.com/qbittorrent/qBittorrent.git (fetch)
upstream        https://github.com/qbittorrent/qBittorrent.git (push)

@dscho
Copy link
Member

dscho commented Sep 16, 2015

Unfortunately, I cannot reproduce:

$ git clone https://chocobo1@github.com/Chocobo1/qBittorrent.git

Just Works. Maybe you have a strange proxy sitting in front of the internets?

@Chocobo1
Copy link
Author

I found out it's my fault. It works correctly when I double-click and install it (using the bundled sfx extractor).
My previous attempt was using 7-zip 15.05 beta x64 right-click menu -> extract to..., obviously that broke something... sorry for the noise.

@dscho
Copy link
Member

dscho commented Sep 16, 2015

@Chocobo1 ah! The post-install.bat script!

Thanks for the reminder; I really need to mention this in README.portable.

@Chocobo1
Copy link
Author

BTW, a suggestion:
looking at https://github.com/git-for-windows/build-extra/blob/master/portable/release.sh#L30

it might be possible to change -m0=lzma to -m0=LZMA2
Here is from the 7z document:

LZMA2 is modified version of LZMA. it provides the following advantages over LZMA:
Better compression ratio for data than can't be compressed. LZMA2 can store such blocks of data in uncompressed form. Also it decompresses such data faster. 
Better multithreading support. If you compress big file, LZMA2 can split that file to chunks and compress these chunks in multiple threads. 

@dscho
Copy link
Member

dscho commented Sep 16, 2015

it might be possible to change -m0=lzma to -m0=LZMA2

Could you compare the size before and after this change?

@dscho
Copy link
Member

dscho commented Sep 16, 2015

I really need to mention this in README.portable.

See git-for-windows/build-extra@676be9a

@Chocobo1
Copy link
Author

Could you compare the size before and after this change?

LZMA2:

7z a -m0=lzma2 -mx=9 -md=64M new.7z Git
7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09

Scanning the drive:
577 folders, 5169 files, 196706699 bytes (188 MiB)
Creating archive: new.7z
Items to compress: 5746

Files read from disk: 5169
Archive size: 28532184 bytes (28 MiB)
Everything is Ok

LZMA:

7z a -m0=lzma  -mx=9 -md=64M old.7z Git
7-Zip [64] 15.06 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-08-09

Scanning the drive:
577 folders, 5169 files, 196706699 bytes (188 MiB)
Creating archive: old.7z
Items to compress: 5746

Files read from disk: 5169
Archive size: 28523741 bytes (28 MiB)
Everything is Ok

Seems LZMA2 is a bit larger :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants