From 38c0f95d73753a7df85e2c9847cc8daa7b3c9b64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?laurent=20bernab=C3=A9?= Date: Tue, 16 Apr 2019 22:44:51 +0200 Subject: [PATCH] Added note for adaptation on Linux Mint On Linux Mint Cinamon, installing Tcl and Tk development libraries set them to the /usr/lib/x86_64-linux-gnu and not just /usr/lib. So that users may encounter enror of the ld linker saying that the libraries could not be found. So creating soft links can solve the issue. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 5a0b7ba..b3ff5fe 100644 --- a/README.md +++ b/README.md @@ -218,6 +218,19 @@ libraries are **libtcl** and **libtk**. ## Notes +### Linux Mint users + +On Linux Mint (may be the same on other Ubuntu derivatives), installing libtcl8.6-dev and libtk8.6-dev may not be enough. Why ? Because the libraries are installed inside the folder `/usr/lib/x86_64-linux-gnu` and not just `/usr/lib`. + +So you can run these commands, before calling dub on your project + +```bash +sudo ln -s /usr/lib/x86_64-linux-gnu/libtcl8.6.a /usr/lib/libtcl.a +sudo ln -s /usr/lib/x86_64-linux-gnu/libtk8.6.a /usr/lib/libtk.a +sudo ln -s /usr/lib/x86_64-linux-gnu/libtcl8.6.so /usr/lib/libtcl.so +sudo ln -s /usr/lib/x86_64-linux-gnu/libtk8.6.so /usr/lib/libtk.so +``` + ### Debugging The following debug flags can be passed to Tkd to help debug certain issues.