nomad-software / tkd

GUI toolkit for the D programming language based on Tcl/Tk
MIT License
117 stars 16 forks source link

Added note for adaptation on Linux Mint #49

Open loloof64 opened 5 years ago

loloof64 commented 5 years ago

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.

nomad-software commented 5 years ago

Thank you for the amendments but this sounds like a linker configuration problem and symlinking libraries is not the best way of fixing it. A more correct way would be to tell ld where the libraries are. On Ubuntu, this is defined inside the files of the /etc/ld.so.conf.d/ directory. Installing the libraries should have placed them in one of the locations listed in those files.

Is this a problem on all Linux Mint installations or just yours locally?

loloof64 commented 5 years ago

Thank you for your quick reply,

I don't know if this a problem related to Linux Mint, as it is my first attempt with TkD on Linux. Eventually, I can create a VirtualBox of Ubuntu and test whether the problem is the same.

I also agree that my method is not the ideal one : as I am not very used to linking configuration, what should be done instead in order to tell ld where to find library ?