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



Thanks for the suggestion, Jeff- but I noticed -lcrypt appears during the build process. I added it manually anyway but that led to errors concerning OpenSSL so will follow Miko's advice and send to 
pkgsrc-users.

Apologies for the mismail, I'm sure I could come up with an excuse at a push. (:

John

On Tue, May 25, 2021 at 05:37:56PM -0400, Jeffrey Walton wrote:
> 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

-- 
jsh%sdf.org@localhost
SDF Public Access UNIX System - http://sdf.org


Home | Main Index | Thread Index | Old Index