[Rpm-maint] [rpm-software-management/rpm] RPM 4.20.0 building problem (Discussion #3430)

Panu Matilainen notifications at github.com
Wed Nov 6 07:58:40 UTC 2024


> /usr/bin/ld: ../rpmio/librpmio.so.10.2.0: undefined reference to `sinh' 

It's librpmio that's missing linkage to libm, elfdeps is just the messenger. Now, librpmio itself doesn't need libm for anything, it's Lua that does, and you seem to be statically linking it:
> -DLUA_LIBRARIES=/root/lua-5.4.7/src/liblua.a

We don't generally endorse or support static linkage because it's nothing but a headache. As you're witnessing here. It might work if you add -libm to librpmio linked libraries but it's equally possible there are further issues.

That /root/... path also suggests you're building as root which you absolutely should not be doing, for any software.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3430#discussioncomment-11163553
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/3430/comments/11163553 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241105/df02ca4d/attachment.html>


More information about the Rpm-maint mailing list