Port-arm archive

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

Re: NetBSD rpi 9.3: libpcre2-8.so.0 not found



On Sat, Jan 06, 2024 at 07:24:52PM +0500, A A wrote:
> I've installed NetBSD 9.3 to a SD card to run it
> on my old Raspberry Pi 1 Model B according
> to the guide [1].
> 
> Later, after successfully starting/running
> I've installed the 'mc' package but it does not start.
> The error is as follows:
> 
> /usr/pkg/lib/libglib-2.0.so.0:
> Shared object "libpcre2-8.so.0" not found
> 
> These packages are installed:
> mc-4.8.28nb2
> pcre-8.45
> pcre2-10.42
> perl-5.38.0
> 
> What is the best way to solve the problem?

Not sure as you seem to have all the right packages. I have 

$ ldd /usr/pkg/lib/libglib-2.0.so
/usr/pkg/lib/libglib-2.0.so:
        -lintl.1 => /usr/lib/libintl.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lpcre2-8.0 => /usr/pkg/lib/libpcre2-8.so.0
        -lpthread.1 => /usr/lib/libpthread.so.1
$ pkg_info -L pcre2-10.42 | grep libpcre2-8.so.0
/usr/pkg/lib/libpcre2-8.so.0
/usr/pkg/lib/libpcre2-8.so.0.11.2

Spurious LD_LIBRARY_PATH in the environment?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index