linker: /usr/bin/ld: cannot find -lXtst lazarus / 66-Unix ---------------------------------------------------------------------- winni · 2019-10-03 23:17 Hi! I just added MouseAndKeyInput to a project. Everthing compiled fine, but the linker complains: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i linker: /usr/bin/ld: cannot find -lXtst Hm, Xtst is installed. But from experience I know that it often helps to install the devel package. So I installed the libXtst-devel. I did not even close Lazarus. Compiled, linked, zak - everything ok. Who is responsible for that: Suse or fpc/Lazarus? Suse Tumbleweed 5.3.1.1, gtk 2 Winni ---------------------------------------------------------------------- marcov · 2019-10-04 08:27 In practice: You. Forcedly installing all dependencies for all libraries for which FPC/Lazarus might have headers is not workable. Breaking up in many packages is an half solution (e.g. debian derived distros try), and also has its problems. ---------------------------------------------------------------------- MarkMLl · 2019-10-04 09:12 Agreed with Marco: if the developer is using something that's not implicit to the IDE/LCL then it's his responsibility to make sure that the prerequisites are installed, and if the distro makes that difficult it was his choice to use that distro. The exception is that for quite a long time it was very useful for the end user's system to have the SQL development packages installed, but the LCL fixed that by giving the programmer better control over which libraries were used (i.e. rather than relying on a symlink set up by the development packages). MarkMLl ---------------------------------------------------------------------- winni · 2019-10-06 17:12 Hi! Thanx for the infos. I just remembered that Lazarus 1.6 / Suse 13.x worked without complaining. So Suse must have changed the packages. I am warned for the future. Winni