Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10849
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andrey Rahmatullin <wrar@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Dynamic library not found by poretools |
| Date | Sun, 26 Aug 2018 21:30:01 +0200 |
| Message-ID | <wr8Tv-5Eg-5@gated-at.bofh.it> (permalink) |
| References | <wr8qt-5fB-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Aug 26 19:24:07 2018 |
| Old-Return-Path | <wrar@debian.org> |
| X-Amavis-Spam-Status | No, score=-11.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5 |
| Dkim-Signature | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wrar.name; s=20160710; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bQFHxaTXW3w2FpKqsOZs/yl0wZV/eWhoMiaMemHkuEw=; b=l2fHdrZNtUrDjG/evpoFE69Djx xCVPHyAArr1xQd9xNexLcGDpoW5gn9f+g67OSVSzD3pKVqGYCO6pzTh+Hq0zKy8+Qw4Jffop3MOWr Kvr0ix1hlP8TEleyd98kwgj71udsqXyPL7XYRBS34z3fCGOT+XJwmY1hLzQu4VCVD8u4=; |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Km1U/tdNT/EmXiR1" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/16271 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20180826192347.GE1660@belkar.wrar.name |
| Approved | robomod@news.nic.it |
| Lines | 58 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 27 Aug 2018 00:23:47 +0500 |
| X-Original-Message-ID | <20180826192347.GE1660@belkar.wrar.name> |
| X-Original-References | <20180826185921.42k5dwivdma7tmhg@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:10849 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Sun, Aug 26, 2018 at 08:59:21PM +0200, Andreas Tille wrote:
> I try to package porechop[1] but somehow it does not find its dynamic
> library. If I install the resulting package I get:
>
> $ porechop
> could not find cpp_functions.so - please reinstall
SO_FILE = 'cpp_functions.so'
SO_FILE_FULL = os.path.join(os.path.dirname(os.path.realpath(__file__)), SO_FILE)
if not os.path.isfile(SO_FILE_FULL):
sys.exit('could not find ' + SO_FILE + ' - please reinstall')
As the executable is in /usr/share/porechop and the lib is in
/usr/lib/x86_64-linux-gnu/porechop, this cannot work. The upstream build
system seems to install them into the same directory.
And wtf is -Wl,-soname,porechop/cpp_functions.so?
TARGET = porechop/cpp_functions.so
SONAME = -soname
$(TARGET): $(OBJECTS)
$(CXX) $(FLAGS) $(CXXFLAGS) $(LDFLAGS) -Wl,$(SONAME),$(TARGET) -o $(TARGET) $(OBJECTS)
It shouldn't have a soname at all, and especially not THIS ONE.
--
WBR, wRAR
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Dynamic library not found by poretools Andreas Tille <andreas@an3as.eu> - 2018-08-26 21:00 +0200 Re: Dynamic library not found by poretools Andrey Rahmatullin <wrar@debian.org> - 2018-08-26 21:30 +0200
csiph-web