NetBSD-Users archive

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

Re: Python 3.x fails build on Solaris 10



On Tue, May 25, 2021 at 5:06 PM John H <jsh%sdf.org@localhost> wrote:
>
> Setting up pkgsrc-2021Q1 on Solaris 10 x86 for an experiment. Going quite well so far, but still using an old gcc version (3.4.3) to build a newer one within the pkgsrc ecosystem, however, seems I need Python
> first. whenever I attempt to build any version of python 3.x I am dropped out with this:
>
> ld: fatal: library -lcrypt: not found
>
> ...which leads to
>
> ERROR: The following files are in the PLIST but not in /usr/pkgsrc/lang/python39/work/.destdir/usr/pkg:
> ERROR:         /usr/pkgsrc/lang/python39/work/.destdir/usr/pkg/lib/python3.9/lib-dynload/_crypt.so
>
> Hoping there's something simple I need to install first like a crypt library, any ideas appreciated!

I believe you need to add -lcrypt to LIBS during configure. (It is not
a problem on Linux because glibc provides the functions).

It's been a while since I built Python on NetBSD, so I may be mistaken.

Jeff


Home | Main Index | Thread Index | Old Index