> /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/11163...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to