SQLite 3.50: Is there no way to disable rpath?
(1) By Guðni (gudnimg) on 2025-06-22 18:21:04 [source]
I'm trying to upgrade SQLite in the Yocto project from 3.48 to 3.49.2+. But am seeing an issue with the output library/binaries having rpaths included.
ERROR: sqlite3-5_3.49.2-r0 do_package_qa: QA Issue: libsqlite3: /usr/lib/libsqlite3.so.3.49.2 contains probably-redundant RPATH /usr/lib [useless-rpaths]
ERROR: sqlite3-5_3.49.2-r0 do_package_qa: QA Issue: sqlite3: /usr/bin/sqlite3 contains probably-redundant RPATH /usr/lib [useless-rpaths]
The --disable-rpath
option isn't accepted by autosetup. Any setting LDFLAGS_RPATH=""
via the configure command has no effect. Is there something I'm missing?
Any help would be appreciated.
(2) By Stephan Beal (stephan) on 2025-06-22 22:49:50 in reply to 1 [link] [source]
Is there no way to disable rpath?
We have long had configure script code to do that but it was commented out because it was deemed to be a "solution looking for a problem."
This checkin reactivates the --disable-rpath
flag and that will part of 3.51.
(3) By Guðni (gudnimg) on 2025-06-23 08:41:20 in reply to 2 [link] [source]
Thanks for the quick reply Stephan and the commit! I’ll update my build to backport that commit into 3.50 to test the change today or in the next few days.
When I was looking into this yesterday I noticed a lot of libraries provide this --disable-rpath
option so its not just SQLite specific :)