SQLite User Forum

SQLite 3.50: Is there no way to disable rpath?
Login

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.