Unable to create branch

Hello all.
Have this error on Arch linux. somebody can help?

com.dynamo.cr.client.RepositoryException: Unable to create branch
at com.dynamo.cr.client.LocalProjectClient.createBranch(LocalProjectClient.java:101)
at com.dynamo.cr.editor.wizards.ConnectionWizardBranchPagePresenter$CreateBranchRunnable.run(ConnectionWizardBranchPagePresenter.java:70)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.dynamo.server.dgit.GitException: /home/volgoza/Documents/Defold/plugins/com.dynamo.cr.dgit_1.0.0.201609121049/git/x86_64-linux//bin/git: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /home/volgoza/Documents/Defold/plugins/com.dynamo.cr.dgit_1.0.0.201609121049/git/x86_64-linux//bin/git)
warning: templates not found /home/jakob/Documents/defold/com.dynamo.cr/com.dynamo.cr.dgit/tmp/build/share/git-core/templates
git-remote-http: /usr/lib/libcrypto.so.1.0.0: no version information available (required by git-remote-http)
git-remote-http: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3’ not found (required by git-remote-http)

Cloning into ‘/home/volgoza/Documents/Defold/branches/32400/20887/main’…

at com.dynamo.server.dgit.CGit.checkResult(CGit.java:105)
at com.dynamo.server.dgit.CGit.checkResult(CGit.java:100)
at com.dynamo.server.dgit.CGit.cloneRepo(CGit.java:149)
at com.dynamo.cr.branchrepo.BranchRepository.createBranch(BranchRepository.java:120)
at com.dynamo.cr.client.LocalProjectClient.createBranch(LocalProjectClient.java:99)
... 2 more

There’s a post here with a user encountering the same problem: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found / Multimedia and Games / Arch Linux Forums

Is there something we can do about this @jakob.pogulis? It seems as though we’re using an old version of libcurl that is no longer available in Arch Linux.

Yes, we’re using an old version and have a brief mention of this in the FAQ, but only under Linux 32 bit problems it seems. This is specific to editor 1 and since this affects a very small number of users I think it’s unlikely that we’ll have time to fix this before editor 2 is released, and have replaced, the current editor.

// Jakob

Sorry for necro-bumping two times a day, but it appears that I solved this problem on my PC.

What you need is to install libssl 0.9.8 and libcurl 3, both of which could be found in AUR(as of today). And then you need to preload libcurl.so.3 every time you launching Defold.

  1. Install openssl098 package (You could ran into pgp mismatch - I did. Look through the comment section on https://aur.archlinux.org/packages/openssl098/, one of the guys write the exact command you would need to resolve that)
  2. Install libcurl-compat-nostatic package
  3. launch defold with following command: LD_PRELOAD=libcurl.so.3 ./Defold-linux.sh

not sure if you still need it, @homelariay. Hope that could be of use to other 1.5 arch users.

3 Likes