pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problems building firefox from pkgsrc-2025Q2 with NetBSD 10.1_STABLE on amd64
On Tue, Jul 15, 2025 at 10:32:08PM +0100, Dave Tyson wrote:
> Just tried to build firefox from a recent cvs of pkgsrc-2025Q2 with a
> recent NetBSD 101_STABLE on amd64. It fails building after a while:
>
> ....
> <module>
> import sqlite3
> File "/usr/pkg/lib/python3.12/sqlite3/__init__.py", line 57, in
> <module>
> from sqlite3.dbapi2 import *
> File "/usr/pkg/lib/python3.12/sqlite3/dbapi2.py", line 27, in
> <module>
> from _sqlite3 import *
> ImportError: /usr/pkg/lib/python3.12/lib-dynload/_sqlite3.so: Undefined
> PLT symbol "sqlite3_deserialize" (symnum = 39)
This is the interesting bit. My hunch is that it's finding:
/usr/lib/libsqlite3.so
rather than:
/usr/pkg/lib/libsqlite3.so
Try:
ksh$ ldd /usr/pkg/lib/python3.12/lib-dynload/_sqlite3.so
/usr/pkg/lib/python3.12/lib-dynload/_sqlite3.so:
-lsqlite3 => /usr/pkg/lib/libsqlite3.so
-lpthread.1 => /usr/lib/libpthread.so.1
-lc.12 => /usr/lib/libc.so.12
-lm.0 => /usr/lib/libm.so.0
Do you happen to have LD_LIBRARY_PATH in your environment? Or an
/etc/ld.so.conf?
> Has anyone else seen this problem or knows of a workaround... I have a
> copy of the full build log if needed.
>
> Cheers,
> Dave
>
>
--
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.
Home |
Main Index |
Thread Index |
Old Index