SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been building kicad using the kicad-all slackbuild in Ponce's (current) repo on github. My most recent build was 09/26/2020. The info file for kicad states that wxPython3, ngspice, OpenCASCADE and glm are require to build it. I either had already built them from slackbuilds found in the same repo or built them at that time in order to build kicad. Nice thing about that slackbuild is that it also builds the docs, symbols, footprints and templates which you might not get in a 3rd party package.
Last edited by justwantin; 02-07-2021 at 12:40 AM.
Reason: tyop
Yeah it was dependency hell too. Gave up after chasing down missing libraries and deciding on if they should be compiled or installed from third party repos.
I decided to try the sbopkg system. Kicad needs OpenCASCADE, which bombs out with
KiCad has a Flatpak package. Does anyone have Flatpak binaries for Slackware?
VTK build failed for some reason. I tracked down packages for VTK and OpenCASCADE.
Bringing me back to the original problem. The KiCad package for 14.2 needs
Code:
libwx_gtk2u_gl-3.0.so.0
I installed libwxGTK2 but the file in question is not in that package.
Managed to pull the missing files (several more) from various rpm packages floating around. Now KiCad claims to need
Code:
kicad: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
However this library already exists. I'm done. Wasted enough time on this bullshit. No wonder I keep a Windows VM in the background to run engineering software.
A rule of thumb is that when a binary package does not work, compile from source. I've been following every minor version of kicad-5.1 and never had a problem.
There are no more than a few tens of packages to install to satisfy the dependencies of kicad. All of them are available on SlackBuilds.org IIRC.
There are no more than a few tens of packages to install to satisfy the dependencies of kicad. All of them are available on SlackBuilds.org IIRC.
Yes, that is my experience. I don't recall if or what I had to build in order to build kicad and later kicad-all from Ponce's repo as I updated my current install every three or so months. Some of the dependencies were already installed from slackbuilds as required by something else. I have over 50 slackbuild built builds onboard right now.
I admit it takes a lot of patience to chase all these dependencies. I installed kicad with sboinstall from sbotools package which does all the process automatically. It can take a while depending on machine power to compile all if none were already installed but at least it works
KiCad has a Flatpak package. Does anyone have Flatpak binaries for Slackware?
VTK build failed for some reason. I tracked down packages for VTK and OpenCASCADE.
Bringing me back to the original problem. The KiCad package for 14.2 needs
Code:
libwx_gtk2u_gl-3.0.so.0
I installed libwxGTK2 but the file in question is not in that package.
Managed to pull the missing files (several more) from various rpm packages floating around. Now KiCad claims to need
Code:
kicad: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
However this library already exists. I'm done. Wasted enough time on this bullshit. No wonder I keep a Windows VM in the background to run engineering software.
libwx_gtk2u_gl-3.0.so.0 should be generated with the ' --with-gtk=2 \' line which is in the sbo wxGTK3 package for 14.2 : https://slackbuilds.org/repository/1...raries/wxGTK3/
I think that playing too much with rpm packages can lead to failure and unstable systems.
Last edited by BrunoLafleur; 02-09-2021 at 07:44 AM.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
Have you tried the sbopkg tool and generated the queue files for all packages?
- "sqg -a" (to generate all queue files)
- "sbopkg -i package" (to build with the complete queue dependency file for your package)
You can even use the -current tree instead of the -14.2 branch. It may help solve a lot of your dependancy problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.