Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: cad/kicad: missing RUN_DEPENDS on libngspice
To:
me@martinyr.com
Cc:
ports@openbsd.org
Date:
Wed, 15 Apr 2026 11:43:34 +0100

Download raw body.

Thread
On 2026/04/15 09:49, me@martinyr.com wrote:
> eeschema in kicad-9.0.3p0v0 fails to run due to a missing dependency on libngspice
> 
>    $uname -a
>    OpenBSD martinr-desk 7.8 GENERIC.MP#54 amd64
> 
>    $LD_DEBUG=1 kicad-cli sch export bom -o bom.txt project.kicad_sch
> 
>    loading: libngspice.so.0.0 required by /usr/local/bin/_eeschema.kiface
>    dlopen: failed to open libngspice.so.0.0
>    unload_shlib called on /usr/local/bin/_eeschema.kiface
>    unload_shlib unloading on /usr/local/bin/_eeschema.kiface
>    dlopen: /usr/local/bin/_eeschema.kiface: done (failed).
>    11:26:35: Error: Failed to load shared library '/usr/local/bin/_eeschema.kiface': Cannot load specified
> 
> Installing the libngspice package resolves this issue and the GUI schematic editor now also runs
> 

This was fixed when the 9.0.5 update was committed that's in -current
and will be in 7.9 release. (Should be a LIB_DEPENDS+WANTLIB but prior
to that update there was only LIB_DEPENDS without WANTLIB and so was
stripped).