nim-lang/langserver

Error: `could not load: libpcre.so(.3|.1|)`

mgred opened this issue · 2 comments

mgred commented

After installing bt nimble install nimlangserver, I get the following after executing the command (nimlangserver):

could not load: libpcre.so(.3|.1|)
(compile with -d:nimDebugDlOpen for more information)

Nim version:

Nim Compiler Version 2.0.2 [Linux: amd64]
Compiled at 2023-12-15
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: c4c44d10df8a14204a75c34e499def200589cb7c
active boot switches: -d:release

Nimble version

nimble v0.14.2 compiled at 2023-12-15 01:05:41
git hash: couldn't determine git hash

Can anybody help?

Install pcre with your distribution's package manager (sudo apt install libpcre3, yum install pcre, etc.)

mgred commented

Works! Thanks!