Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Fix missing libgcrypt.so.11 #541

Closed
wants to merge 3 commits into from
Closed

Conversation

brbsix
Copy link

@brbsix brbsix commented Dec 11, 2015

This is a fix for adobe/brackets#10255

@abose
Copy link
Contributor

abose commented Dec 11, 2015

Tagging @nethip

@brbsix
Copy link
Author

brbsix commented Jan 23, 2016

I was just reviewing this and realized what I had submitted was not going to work for 32-bit systems as it only included the 64-bit library (and libgcrypt is not architecture independent). I think I've addressed that here but I'm not really sure. Can someone take a look?

@ficristo
Copy link
Collaborator

IMO embedding the libraries is not the right fix.
Have you looked at #501?
You could try and report back if that fix the issue.

@brbsix
Copy link
Author

brbsix commented Jan 24, 2016

Certainly, embedding libraries is not a desirable solution. The correct fix is to use a CEF release that depends on libgcrypt20 (2171 or newer). Long story short, current releases are not compatible with libgcrypt20. The 1547 CEF has libgcrypt.so.11 hardcoded. Search/replace of hardcoded strings in CEF binary or symlink from libgcrypt.so.20 to libgcrypt.so.11 has all been tried and is unsuccessful. Will result in error messages like the following:

/usr/bin/brackets: /lib/x86_64-linux-gnu/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /opt/brackets/lib/libcef.so)

/usr/bin/brackets: /lib/x86_64-linux-gnu/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /usr/lib/x86_64-linux-gnu/libgnutls.so.26)

Until CEF 2171 is ready, options are to release software that will not run on modern distros or embed the requisite libraries. I think the latter is the obvious choice. Several other projects that use CEF (to include atom) have come to the same conclusion.

@nethip
Copy link
Contributor

nethip commented Jan 25, 2016

@brbsix Thanks for this PR! We wanted to merge this PR to fix the libcryp.so.11 dependency issue. Unfortunately we could not merge this as we had a "NO GO" from our legal because of the licensing issues with packing libcrypt.so.11 with the installer.

And you are right about fixing our installer scripts and that would be part of upgrading CEF to latest version for Linux. Unfortunately we don't have that kind of bandwidth to work on the CEF migration on Linux.

I would be more than happy to help you if you could take up this task.

@ficristo
Copy link
Collaborator

Thank you both to have explained the current status!

@nethip nethip closed this Apr 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants