Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bod6u-0003Le-8t for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 26 Sep 2016 21:06:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bod6t-0006XR-Rt for pgsql-pkg-yum@arkaria.postgresql.org; Mon, 26 Sep 2016 21:06:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bod6q-0006Op-1a for pgsql-pkg-yum@postgresql.org; Mon, 26 Sep 2016 21:06:44 +0000 Received: from ohmu.fi ([213.157.68.249]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bod6g-0007i0-Jm for pgsql-pkg-yum@postgresql.org; Mon, 26 Sep 2016 21:06:43 +0000 Received: from [127.0.0.1] (localhost [IPv6:::1]) by ohmu.fi (Postfix) with ESMTP id CDF3860387; Tue, 27 Sep 2016 00:06:32 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohmu.fi; s=ohmu20151014; t=1474923992; bh=XOt0drmmpiHnSRPC/0XLnzqu/ACVXOTw6ovLZUQK1PQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=pusSm1LSC2lQ7xzOn/0BwGKEiMA+LXjFI/gqbrAbARWiSB7itj7EIDAkTqydHSlpA NohsOF32P2qJGDbz6b4EUJIqNSMY6RqAUsJP6jD5/seRU7+jazcVr98rmMedfNzwp4 twGUkDnt6/4jgqv5LigarLoR+rFx1AoGeSeM8kGY= Subject: Re: Broken python3-psycopg2 for F24 / PG 9.6 To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , pgsql-pkg-yum@postgresql.org References: <1474885640.28685.18.camel@gunduz.org> <403242bb-2cd3-78be-bf4a-2df63c221cac@ohmu.fi> <1474922312.14931.29.camel@gunduz.org> <1474923456.14931.31.camel@gunduz.org> From: Oskari Saarenmaa Message-ID: <688415df-7469-e2b9-535e-6a425bf6c7fc@ohmu.fi> Date: Tue, 27 Sep 2016 00:06:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1474923456.14931.31.camel@gunduz.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -5.0 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org 26.09.2016, 23:57, Devrim Gündüz kirjoitti: > On Mon, 2016-09-26 at 23:42 +0300, Oskari Saarenmaa wrote: >>> When/how do you get this? >> >> Python 2 and Python 3 require their own shared libraries. The Python 2 >> psycopg2 package includes a _psycopg.so file, but the Python 3 package >> doesn't, try: python3 -c 'import psycopg2' > > I'm not a Python guy, so: > > $ python3 -c 'import psycopg2' > $ > > I did not get any errors, is that ok? That's weird. The https://yum.postgresql.org/9.6/fedora/fedora-24-x86_64/python3-psycopg2-2.6.2-2.f24.x86_64.rpm package that I'm seeing definitely doesn't contain a _psycopg.so package which is required by psycopg2. Try python3 -c 'from psycopg2 import _psycopg; print(_psycopg)' and run rpm -qf on the reported file. On stock Fedora 24 without PGDG repos I get: $ python3 -c 'from psycopg2 import _psycopg; print(_psycopg)' $ rpm -qf /usr/lib64/python3.5/site-packages/psycopg2/_psycopg.cpython-35m-x86_64-linux-gnu.so python3-psycopg2-2.6.1-5.fc24.x86_64 / Oskari -- Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-yum