Opened 7 weeks ago

Last modified 6 weeks ago

#69648 assigned defect

kicad @7.0.10: Library not loaded: /opt/local/libexec/opencascade/lib/libTKBinL.7.7.dylib

Reported by: CharlieBedard (Charlie Bedard) Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: barracuda156
Port: kicad

Description (last modified by jmroot (Joshua Root))

I just learned about MacPorts ans used it to load an older version of kiCAD (MacPorts-2.9.1-11-BigSur). It took a while but installed but now I get the kiCAD error:

Failed to load shared library '/Applications/MacPorts/KiCad/kicad.app/Contents/MacOS/_pcbnew.kiface': dlopen(/Applications/MacPorts/KiCad/kicad.app/Contents/MacOS/_pcbnew.kiface, 10): Library not loaded: /opt/local/libexec/opencascade/lib/libTKBinL.7.7.dylib
Referenced from: /Applications/MacPorts/KiCad/kicad.app/Contents/MacOS/_pcbnew.kiface
Reason: image not found

The error comes up all the time and is annoying. Is this an indication that the full install failed at some point? Or is this a kiCAD issue only?

Change History (4)

comment:1 Changed 7 weeks ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: kiCAD removed
Owner: set to ra1nb0w
Status: newassigned

comment:2 Changed 7 weeks ago by kencu (Ken)

Is that file there?

ls -la /opt/local/libexec/opencascade/lib/libTKBinL.7.7.dylib

if not, is opencascade installed?

port -v installed opencascade

comment:3 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: barracuda156 added
Port: kicad added; kiCAD removed
Summary: Problems with kiCAD portkicad @7.0.10: Library not loaded: /opt/local/libexec/opencascade/lib/libTKBinL.7.7.dylib
Type: requestdefect

The opencascade port was just updated to version 7.8.0. It now provides libTKBinL.7.8.dylib not libTKBinL.7.7.dylib.

kicad failed to build against opencascade 7.8.0 until I committed a fix a couple hours ago. I noticed kicad's revision was not increased when opencascade was updated. I guess everything that links with the libraries should have been revbumped but wasn't.

I am already working on updating kicad to the next (last) version of 7.x (#69647) which will rebuild it anyway and should take care of this issue. And then after that hopefully there will be an update to 8.x.

comment:4 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

In d267a1cb353b4d144987cc0915e7da582dedd126/macports-ports (master):

kicad: Update to 7.0.11

Switch to boost181 because that's the latest version in MacPorts. The
build fails if the boost port is also active so declare that conflict.

Move boost and legacysupport and compiler restrictions into main port
because there's no need for them in the noarch subports.

Use a separate patchfile for each noarch subport so that each patch can
be applied without fuzz or offset.

Consolidate common code.

Fix livecheck to exclude only x.99.y development versions.

Fix license.

See: #69647
See: #69648

Note: See TracTickets for help on using tickets.