From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: Re: OfflineIMAP and Python Date: Thu, 23 Apr 2015 12:27:03 +0200 Message-ID: <87vbgn87ig.fsf@denknerd.org> References: <87iocp21nd.fsf@denknerd.org> <87a8y1ijat.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlELq-0003uf-SQ for guix-devel@gnu.org; Thu, 23 Apr 2015 06:27:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlELl-0001zs-Iu for guix-devel@gnu.org; Thu, 23 Apr 2015 06:27:22 -0400 In-reply-to: <87a8y1ijat.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= , Guix-devel On 2015-04-21 at 17:37, quoth Ludovic Court=C3=A8s: > The =E2=80=98python=E2=80=99 executable is necessarily the right one, b= ecause 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. Okay, i had some more time to look into this. First, i applied Ricardo's change -- i also use the 'pythonfile' option. I've changed that file's first line to read #!/usr/bin/env python I still get errors though. > Could you run =E2=80=98strace -o log offlineimap=E2=80=99 and then: > > grep 'open.*\.so.*=3D [0-9]' log That gives me -------------8<----------------------- open("/usr/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libhistory.so.6", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libpython2.7.so.1.0", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) =3D 3 open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) =3D 3 open("/gnu/store/zla3af321lkf2n80330fw81mxgbz1gj3-python-2.7.6/lib/python= 2.7/lib-dynload/_collections.so", O_RDONLY) =3D 7 open("/gnu/store/zla3af321lkf2n80330fw81mxgbz1gj3-python-2.7.6/lib/python= 2.7/lib-dynload/_collections.so", O_RDONLY|O_CLOEXEC) =3D 8 open("/gnu/store/zla3af321lkf2n80330fw81mxgbz1gj3-python-2.7.6/lib/python= 2.7/lib-dynload/operator.so", O_RDONLY) =3D 7 open("/gnu/store/zla3af321lkf2n80330fw81mxgbz1gj3-python-2.7.6/lib/python= 2.7/lib-dynload/operator.so", O_RDONLY|O_CLOEXEC) =3D 8 -------------8<----------------------- ..so i think you're right Ludo. What can i do about that?