From owner-freebsd-questions@freebsd.org Mon Oct 10 18:11:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 173D2C0C330 for ; Mon, 10 Oct 2016 18:11:24 +0000 (UTC) (envelope-from archon@silvertree.org) Received: from mail.silvertree.org (arthur.silvertree.org [173.11.101.153]) by mx1.freebsd.org (Postfix) with SMTP id 02334902 for ; Mon, 10 Oct 2016 18:11:23 +0000 (UTC) (envelope-from archon@silvertree.org) Received: (qmail 48932 invoked from network); 10 Oct 2016 18:04:41 -0000 Received: from 216.113.160.72 ([216.113.160.72]) by arthur.silvertree.org ([173.11.101.153]) with ESMTP via TCP; 10 Oct 2016 18:04:41 -0000 From: "Scott Schappell" To: Subject: Can't upgrade ports, undefined symbol error in Python 2.7 _io.so when compiling Date: Mon, 10 Oct 2016 11:04:32 -0700 Message-ID: <08a401d22320$c0b74e90$4225ebb0$@silvertree.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdIjIJkx79zY+Dd/T6SvMU65n4Y7hw== Content-Language: en-us X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 18:11:24 -0000 I've tried searching, I've tried installing python2.7 from packages instead of ports, tried various config options for python 2.7 but I can't seem to figure this on out: ===> Building for jsoncpp-1.7.7 SCons import failed. Unable to find engine files in: /usr/local/bin/../engine /usr/local/bin/scons-local-2.5.0 /usr/local/bin/scons-local /usr/local/lib/scons-2.5.0 /usr/local/lib/scons-2.5.0 /usr/lib/scons-2.5.0 /usr/local/lib/python2.7/site-packages/scons-2.5.0 /usr/local/lib/python2.7/site-packages/scons-2.5.0 /usr/lib/python2.7/site-packages/scons-2.5.0 /usr/local/lib/scons-2.5.0 /usr/local/lib/scons /usr/local/lib/scons /usr/lib/scons /usr/local/lib/python2.7/site-packages/scons /usr/local/lib/python2.7/site-packages/scons /usr/lib/python2.7/site-packages/scons /usr/local/lib/scons Traceback (most recent call last): File "/usr/local/bin/scons", line 190, in import SCons.Script File "/usr/local/lib/scons-2.5.0/SCons/Script/__init__.py", line 77, in import SCons.Environment File "/usr/local/lib/scons-2.5.0/SCons/Environment.py", line 55, in import SCons.Platform File "/usr/local/lib/scons-2.5.0/SCons/Platform/__init__.py", line 52, in import tempfile File "/usr/local/lib/python2.7/tempfile.py", line 32, in import io as _io File "/usr/local/lib/python2.7/io.py", line 51, in import _io ImportError: /usr/local/lib/python2.7/lib-dynload/_io.so: Undefined symbol "_PyCodec_LookupTextEncoding" *** Error code 1 Stop. make: stopped in /usr/ports/devel/jsoncpp I'm somewhat at my wit's end on this one. I tried reading through /usr/ports/UPDATING but couldn't readily find anything relevant. Any suggestions? Scott