pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: webkit-gtk41 missing sqlite path



On Thu, Sep 10, 2026 at 05:48:08PM +0100, Greg Troxel wrote:
> Thomas Klausner <wiz%gatalith.at@localhost> writes:
> 
> > On Thu, Sep 10, 2026 at 08:43:35AM +0100, Greg Troxel wrote:
> >> Building on netbsd-10 with pkgsrc head:
> >> 
> >>   => Checking for missing run-time search paths in webkit-gtk41-2.52.6nb2
> >>   ERROR: lib/libwebkit2gtk-4.1.so.0.21.10: missing library: /usr/pkg/lib/libsqlite3.so
> >> 
> >> anyone else seeing this?
> >
> > I haven't tried a NetBSD 10 build, but I don't see it on -current, and
> > it doesn't look like something that should depend on that.
> 
> Do you mean "webkit-gtk41 has no reason to use sqlite3"?

No, I meant I don't see a reason this error should occur on NetBSD 10
and not on -current.

Makefile.common includes sqlite3/bl3.mk, it should be a full
dependency.

> > Makefile.common has an explicit section about this:
> >
> > # otherwise, libsqlite3.so from ${BUILDLINK_DIR} is hardcoded into some binaries
> > CMAKE_CONFIGURE_ARGS+=          -DSQLite3_LIBRARY=${BUILDLINK_PREFIX.sqlite3}/lib/libsqlite3.so
> >
> > Where is your sqlite3 library?
> 
> It's in /usr/pkg/lib.  As I understand it, pkgsrc does not use base
> sqlite at all.
> 
> The "otherwise" is puzzling; that's unconditional.

The comment is supposed to mean: if this file is missing, the path to
the wrong libsqlite3.so (in the buildlinkdir) is hardcoded into the
binary.

> Are you saying it builds for you on current?

Yes.

If the file is really there, check if sqlite3 is only a build
dependency in your environment (and if so, find out why); if that's
not it, perhaps a bug in pkg_install? Which version is installed?
 Thomas


Home | Main Index | Thread Index | Old Index