Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: cad/kicad: missing RUN_DEPENDS on libngspice
To:
me@martinyr.com
Cc:
ports@openbsd.org
Date:
Wed, 15 Apr 2026 12:43:56 +0200

Download raw body.

Thread
On Wed Apr 15, 2026 at 09:49:06AM +0000, 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
> 

Thanks for the report,

cad/ngspice/libngspice is a lib dependency for the current in
ports tree version.