LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-06-2021, 07:05 PM   #1
epitaxial
Member
 
Registered: Dec 2019
Posts: 44

Rep: Reputation: Disabled
KiCad package and libwx_gtk2u_gl-3.0.so.0


I'm trying to get KiCad up and running but the package I installed from one of the repos seems to want a library I can't find.

Code:
kicad: error while loading shared libraries: libwx_gtk2u_gl-3.0.so.0: cannot open shared object file: No such file or directory
I installed wxGTK3 and wxGTK from the alien slackbuilds but that particular file doesn't seem to be included. Any idea how to fix this?
 
Old 02-06-2021, 07:25 PM   #2
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 337

Rep: Reputation: Disabled
KiCad package and libwx_gtk2u_gl-3.0.so.0

Have you tried to build the latest release?
 
Old 02-07-2021, 12:39 AM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
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
 
Old 02-07-2021, 12:17 PM   #4
epitaxial
Member
 
Registered: Dec 2019
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kermitdafrog8 View Post
Have you tried to build the latest release?
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

Code:
3RDPARTY_TCL_INCLUDE_DIR 3RDPARTY_TK_INCLUDE_DIR 3RDPARTY_VTK_INCLUDE_DIR
Which yields exactly one hit on a Chinese forum.

Last edited by epitaxial; 02-07-2021 at 12:23 PM.
 
Old 02-07-2021, 12:59 PM   #5
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,698

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Did you install the required package VTK for OpenCASCADE?
 
Old 02-07-2021, 01:08 PM   #6
epitaxial
Member
 
Registered: Dec 2019
Posts: 44

Original Poster
Rep: Reputation: Disabled
VTK is building now.

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.

Last edited by epitaxial; 02-07-2021 at 01:48 PM.
 
Old 02-08-2021, 10:25 PM   #7
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,183

Rep: Reputation: 237Reputation: 237Reputation: 237
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.
 
Old 02-09-2021, 02:51 AM   #8
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
Quote:
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.
 
Old 02-09-2021, 05:50 AM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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
 
Old 02-09-2021, 07:43 AM   #10
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 405

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Talking

Quote:
Originally Posted by epitaxial View Post
VTK is building now.

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.
 
1 members found this post helpful.
Old 02-10-2021, 12:21 AM   #11
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
 
Old 03-05-2021, 11:08 PM   #12
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 337

Rep: Reputation: Disabled
KiCad package and libwx_gtk2u_gl-3.0.so.0

I was able to finally build 5.1.9 from Ponce Slackbuild after rebuilding wxPython4 and wxGTK3 a couple of times.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
LXer: pedalSHIELD designed using the open source tool KiCad LXer Syndicated Linux News 0 03-24-2014 11:20 AM
[SOLVED] freeroute.jnlp & kicad business_kid Fedora 1 05-15-2013 10:58 AM
Kicad, I can't find way to load cutomer's footprint vonelli Linux - Newbie 0 07-05-2011 10:08 AM
schematic project in Kicad or eagle ; a.dehqan Linux - Software 3 06-10-2008 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration