From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: OfflineIMAP and Python Date: Tue, 21 Apr 2015 17:37:46 +0200 Message-ID: <87a8y1ijat.fsf@gnu.org> References: <87iocp21nd.fsf@denknerd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkaFH-0005Dj-0h for guix-devel@gnu.org; Tue, 21 Apr 2015 11:37:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkaFC-0003AM-6e for guix-devel@gnu.org; Tue, 21 Apr 2015 11:37:54 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkaFC-0003AI-43 for guix-devel@gnu.org; Tue, 21 Apr 2015 11:37:50 -0400 In-Reply-To: (Ricardo Wurmus's message of "Tue, 21 Apr 2015 13:03:47 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Paul van der Walt Cc: Guix-devel Ricardo Wurmus skribis: > Paul van der Walt writes: > >> ImportError: /gnu/store/zla3af321lkf2n80330fw81mxgbz1gj3-python-2.7.6/li= b/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDef= aultEncodedString > > This usually happens when you use the wrong python. The =E2=80=98python=E2=80=99 executable is necessarily the right one, becau= se it=E2=80=99s written in the shebang, and this operator.so is the right one too. It could be that the wrong libpython was loaded, though. Could you run =E2=80=98strace -o log offlineimap=E2=80=99 and then: grep 'open.*\.so.*=3D [0-9]' log ? Ludo=E2=80=99.