Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10674
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Lumin <cdluminate@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: How to enable Python3 for python-freecontact |
| Date | Wed, 04 Jul 2018 04:50:01 +0200 |
| Message-ID | <w7G1H-3a1-1@gated-at.bofh.it> (permalink) |
| References | <w7x85-6cI-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Jul 4 02:42:10 2018 |
| Old-Return-Path | <cdluminate@gmail.com> |
| X-Amavis-Spam-Status | No, score=-4.113 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FAKE_REPLY_C=1.486, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=mTp8/tI4A3cOz6Tj7g9k+8NepgEa/Lv+YyIqDcXbMXM=; b=S/Iw2t08j9QfNiKqQQT4evQfCiR9PJswt/XsVFbznlKNFn2TdSDiQKQVj/RDSCI3sa FYdSI1E0WI6t/cwS0wxcvjjmPBnALJ5PPlGjRj1BkBcof5PdEEHmvBZ/Hl20M1XrtXuh NM+2PhmGS1aEEJnHIU3/Q/wxtKDqx25DHlUvkFc21+NmZn+jRNoWfE9ZwhF+5qdPIqrW 3tRkcgZpcShiNNf/c/qPiupRVba2OczJ85yIlLTfw8l6yxsBRpg9Wu9VU8i7HpZmVjqx LqQvzFD/ib94izu4ga+hkggnyzr+y8tYDCsPXtdiengP99cNIfpmFYv91dXg9wy9JcH4 5SbQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=mTp8/tI4A3cOz6Tj7g9k+8NepgEa/Lv+YyIqDcXbMXM=; b=rlmuvX2f3kGPmm0Cb8nc2iKzQvca+1C4NnR184kL1FfRKbM5EGGQSWmctwKSprY9nv FlwX3PdmKeD4MZP1kLJ3vxAHT63nWUw/hY9p69uYSBlXgKTNIHgvzKVobpc0TsVZHERV CHTEbfeJ57znWSxNPybZ8PQRgsxRGdTf+YHAagW0+u4BsBVfLZGP+aYDgYHECbRnAxqr zZYJQHeHgz7pmm/2WiPB52oRVWhXwSZ+7ytCW2yW05CPE7EfBNHSnm47NIqK9va0HGvh 6cMi5U2bxZgIfvWAGhiR3u9cwp+NfQvYT3hPlRW9XIwB8ftj8CXRi+vCyPQAeo4mSRrI VSXg== |
| X-Gm-Message-State | APt69E01rUxOeIxXiGc65pRmYic4G3cnq89GOQlnBgEyi/DHAuTKek+6 N8G6CwuOb2DhYmqQGM0OfAHJtg== |
| X-Google-SMTP-Source | AAOMgpdKcooDC+E2gORDMXzwVAxizWe3qOR3fKpxbVk6UmP/8ydatMtm8KqDJm4VD01mwYY9HVPqnA== |
| X-Received | by 2002:a63:1f20:: with SMTP id f32-v6mr176872pgf.84.1530671199484; Tue, 03 Jul 2018 19:26:39 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| User-Agent | Mutt/1.10.0 (2018-05-17) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/16088 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20180704022635.GA7795@Asuna |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Wed, 4 Jul 2018 02:26:36 +0000 |
| X-Original-Message-ID | <20180704022635.GA7795@Asuna> |
| X-Original-References | <20180703171659.wsztbkyj4w7dfokd@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:10674 |
Show key headers only | View raw
Hi Andreas, > Is there any way to have different library sections in setup.py > to accomplish version specific libraries linked? - libraries = ['freecontact', 'boost_python'])] + libraries = ['freecontact', 'boost_python-py36'])] This hack fixes the python 3.6 .so linkage. I'm not sure whether there is a better way to workaround this, but the following solution works fine - libraries = ['freecontact', 'boost_python'])] + libraries = ['freecontact', 'boost_python-py%d%d'%(sys.version_info[0], sys.version_info[1])])] works for all python versions, i.e. 2.7, 3.6, 3.7 . BTW, Please check you boost-python version: │ │ /t/x/python-freecontact ❯❯❯ dpkg -L libboost-python1.62.0 │ /. │ /usr │ /usr/lib │ /usr/lib/x86_64-linux-gnu │ /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.62.0 │ /usr/lib/x86_64-linux-gnu/libboost_python-py36.so.1.62.0 │ /usr/lib/x86_64-linux-gnu/libboost_python-py37.so.1.62.0 │ /usr/share │ /usr/share/doc │ /usr/share/doc/libboost-python1.62.0 │ /usr/share/doc/libboost-python1.62.0/changelog.Debian.gz │ /usr/share/doc/libboost-python1.62.0/copyright │ /usr/share/lintian │ /usr/share/lintian/overrides │ /usr/share/lintian/overrides/libboost-python1.62.0 │ /t/x/python-freecontact ❯❯❯ apt list libboost-python1.62.0 │ Listing... Done │ libboost-python1.62.0/unstable,unstable,now 1.62.0+dfsg-6 amd64 [installed,automatic] │
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to enable Python3 for python-freecontact Andreas Tille <andreas@an3as.eu> - 2018-07-03 19:20 +0200
Re: How to enable Python3 for python-freecontact Lumin <cdluminate@gmail.com> - 2018-07-04 04:50 +0200
Re: How to enable Python3 for python-freecontact Andreas Tille <andreas@an3as.eu> - 2018-07-04 09:00 +0200
csiph-web