From: <rs@ti.com>
To: <richard.purdie@linuxfoundation.org>, <reatmon@ti.com>,
<denys@konsulko.com>
Cc: <openembedded-core@lists.openembedded.org>
Subject: [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat
Date: Fri, 15 Mar 2024 19:19:43 -0500 [thread overview]
Message-ID: <20240316001943.3733687-1-rs@ti.com> (raw)
From: Randolph Sapp <rs@ti.com>
Add a link from libbz2.so.1.0 to libbz2.so.${PV} for compatibility with
other distributions.
A handfull of distributions are still using the "Makefile-libbz2_so" to
generate libbz2 and bzip2-shared. This creates a library with a soname
of "libbz2.so.1.0". This library link is not provide by default in
autotools builds so add one here as Gentoo does now [1].
This has been addressed upstream already, but there hasn't been a stable
release since then [2].
[1] https://bugs.gentoo.org/338321
[2] https://gitlab.com/bzip2/bzip2/-/merge_requests/42
Signed-off-by: Randolph Sapp <rs@ti.com>
---
meta/recipes-extended/bzip2/bzip2_1.0.8.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb
index 4e3a06f240..4453171701 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.8.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.8.bb
@@ -62,6 +62,11 @@ do_install_ptest () {
sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
}
+# add the following link for cross-distro compatibility
+do_install:append () {
+ ln -s libbz2.so.${PV} "${D}${libdir}/libbz2.so.1.0"
+}
+
FILES:libbz2 = "${libdir}/lib*${SOLIBS}"
RDEPENDS:${PN}-ptest += "make bash"
--
2.44.0
next reply other threads:[~2024-03-16 0:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-16 0:19 rs [this message]
2024-03-16 16:52 ` [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat Alexander Kanavin
2024-03-18 19:15 ` Randolph Sapp
2024-03-17 9:28 ` Richard Purdie
2024-03-18 19:13 ` Randolph Sapp
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 0:29 [oe-core][RFC 0/3] Display manager proposal for x11 and wayland rs
[not found] ` <182C83EDE0EF5771.27055@lists.openembedded.org>
2025-03-14 0:40 ` [OE-core] [PATCH] bzip2: add libbz2.so.1.0 link for compat Randolph Sapp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240316001943.3733687-1-rs@ti.com \
--to=rs@ti.com \
--cc=denys@konsulko.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=reatmon@ti.com \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox