Thanks again! Hmmm… so, above where I show the output of dpkg -L libocct-modeling-algorithms-7.6
, you can see that there are no .so files included. However, now when I run that command the .so files are shown. So it would seem that something I did fixed that – I did apt reinstall kicad
and apt reinstall libocct-modeling-algorithms-7.6
. I didn’t think it changed anything but clearly it did.
Now when I try to open a PCB the error is different, so perhaps we need to shift our attention to another library to debug this.
I said that it was a virtual package because I saw it in the all packages list for ubuntu:
libocct-modeling-algorithms-7.6 (= 7.6.3+dfsg1-7.1build1)
virtual package provided by libocct-modeling-algorithms-7.6t64
libocct-modeling-algorithms-7.6t64 (7.6.3+dfsg1-7.1build1) [universe]
Open CASCADE Technology geometrical & topological algorithms module
…and indeed, before I somehow “fixed” it there were no .so files installed, as you might expect for a virtual package.
At any rate, the same issue is now happening with libocct-modeling-data-7.6 and kicad is complaining about not finding TKBRep.so.7, which is provided by the analogous t64 package. libocct-modeling-data-7.6 is listed in the ubuntu packages list as a virtual package. Here are the files that package installed (note the lack of any .so files):
$ dpkg -L libocct-modeling-data-7.6
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/share
/usr/share/doc
/usr/share/doc/libocct-modeling-data-7.6
/usr/share/doc/libocct-modeling-data-7.6/changelog.Debian.gz
/usr/share/doc/libocct-modeling-data-7.6/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libocct-modeling-data-7.6
$ apt show libocct-modeling-data-7.6
Package: libocct-modeling-data-7.6
Version: 1:7.6.3+dfsg1-8~ubuntu24.04.1
Priority: optional
Section: libs
Source: opencascade
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Installed-Size: 7,346 kB
Depends: libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libocct-foundation-7.6 (>= 1:7.6.3+dfsg1), libstdc++6 (>= 13.1)
Breaks: libocct-modeling-data-7.4, libocct-modeling-data-7.5
Replaces: libocct-modeling-data-7.4, libocct-modeling-data-7.5
Download-Size: 2,638 kB
APT-Manual-Installed: no
APT-Sources: https://ppa.launchpadcontent.net/kicad/kicad-8.0-releases/ubuntu noble/main amd64 Packages
Description: Open CASCADE Technology 2D/3D geometric primitives data structures
Open CASCADE Technology is a suite for 3D surface and solid modeling,
visualization, data exchange and rapid application development. It is an
excellent platform for development of numerical simulation software including
CAD/CAM/CAE, AEC and GIS, as well as PDM applications.
.
This package supplies data structures to represent 2D and 3D geometric models.
.
This package contains the following shared libraries:
TKG2d TKG3d TKGeomBase TKBRep
I’m sure that if I installed the t64 package, or did the reinstall of the package as before, it would “fix” this, but it’d be nice to know what the heck is going on (and to have a more universal fix so I’m not just chasing dependencies…)
Edit to add: aptitude search '?virtual' | grep libocct
returns nothing, so it seems like it really isn’t, but I can’t square that with the ubuntu package list calling it virtual, or the lack of installed .so files…