Re: ffi errors building gobject-introspection
Greg Troxel <[email protected]> Thu, 23 Mar 2023 08:03:15 -0400
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
Riccardo Mottola <[email protected]> writes: > I am upgrading gobject-introspection on NetBSD 9.3 sparc64: > Version mismatch: 'gobject-introspection' 1.68.0 vs 1.74.0 > > but "make replace" fails: > ld: warning: libffi.so.7, needed by > /usr/pkg/lib/libgirepository-1.0.so.1, not found (try using -rpath or > -rpath-link) Have you updated your entire pkgsrc tree to a consistent state? run 'pkg_rolling-replace -uvs' before this, so that everything else is up to date? Beyond that, it says libffi.so.7 can't be found. On my NetBSD 9 amd64 system, I have libffi.so.8. Probably you do too, and you still have something installed that needs that. I am now guessing that the problem is that gobject-introspection's build is buggy and ends up using installed libs in preference to those in the build tree. If that's the case you could pkg_delete -f the existing package, or perhaps just move away that lib.