Hi there.
I have installed nimble using following commands:
$ git clone https://github.com/nim-lang/nimble.git
$ cd nimble
$ nim -d:release c -r src/nimble install
$ echo 'export PATH=$HOME/.nimble/bin:$PATH' >> ~/.profile
$ source ~/.profile
After installation (successful, as far as I can tell), whenever I'm trying to install any package, for example:
nimble install nimble
the following error message is shown:
Searching in "official" package list...
Downloading https://github.com/nim-lang/nimble into /tmp/nimble_31416/githubcom_nimlangnimble using git...
Found tags...
Cloning latest tagged version: e-https: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
sh: 1: Syntax error: "(" unexpected
FAILURE: Execution failed with exit code 2
I'm using the following versions of Nim and git on Linux Mint 17 (x64):
$ nim --version
Nim Compiler Version 0.14.2 (2016-06-11) [Linux: amd64]
Copyright (c) 2006-2016 by Andreas Rumpf
git hash: abf4e204c2f1a8a6915a8d32c970b5ce64f58e10
active boot switches: -d:release
$ git --version
git version 2.9.0
Version of nimble:
$ nimble --version
nimble v0.7.4 compiled at 2016-06-14 19:46:25
Any tips or suggestions what am I doing wrong?
P.S. Sorry for my english, not native speaker. Also, sorry, if it's common problem, I've failed to find solution myself.
This seems like an error with your Linux libraries rather than Nimble itself. Please try executing:
git ls-remote --tags https://github.com/nim-lang/nimble
Ok, I see. I got this warning messages in some system tools that uses libcurl library - like apt-get, curl and other. But I have never seen any problems caused by this. I guess, I'll try to fix my system libs and see if it's fixes the problem.
$ git ls-remote --tags https://github.com/nim-lang/nimble
git-remote-https: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
git-remote-https: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4)
04b6655e1c577095a3ccd580f71d0246263cee4f refs/tags/v0.2
64164e93cdf31d853cffa011b3873127353f2f98 refs/tags/v0.2^{}
341559f948adb3018f701df6195a54c1020a631d refs/tags/v0.4
05ac7d5bcd2edb95dda8cdd9d4213433976d72af refs/tags/v0.4^{}
f881d8795541de824a8edfceb5ee945c378d9456 refs/tags/v0.6
875786d34fc4e342eb2fdc849d6d84718c615e84 refs/tags/v0.6^{}
b4e654bd875e58eb78a0d2270bdc331215053954 refs/tags/v0.6.2
7524cd17984465ba2c1cc119a9e33bc916516471 refs/tags/v0.6.2^{}
c369f1486b2f44b34f903ee73c6782d40e2da389 refs/tags/v0.6.4
ffbd5f5b3ec85a68e179233275ff4ef54cc280a3 refs/tags/v0.6.4^{}
8efc1a1ca3d0aa86e5f9064d5bb8e7d60f758d0f refs/tags/v0.7.0
80a418e68063eeb32f311341573567bf545dc8d9 refs/tags/v0.7.0^{}
83b1292d232b8f488d2ef74b548db19f202f6773 refs/tags/v0.7.2
47c490b1b0a847a3292b97e417319dd73f8629bb refs/tags/v0.7.4
cc2c606fbe18d68af3aa42d44a256a9937ef9685 refs/tags/v0.7.4^{}