Skip to content
Discussion options

You must be logged in to vote

The library for the target system is under /usr/lib/i386-linux-gnu which is also configured in /etc/ld.so.conf.d/i386-linux-gnu.conf.

/etc/ld.so.conf.d/* is for building /etc/ld.so.cache DB, if you add a new config there you would need to run ldconfig to update the cache. However this is only for adding search paths for runtime linking (when a program starts, or you use ldd for example), similar to how LD_LIBRARY_PATH is for runtime not build time.


= note: ld.lld: error: unable to find library -lsqlite3

This is a link time error during build.

If you do not experience this problem with cargo build (perhaps try with matching host arch to verify compared to cargo zigbuild for that same …

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
11 replies
@myz-dev
Comment options

@NobodyXu
Comment options

@myz-dev
Comment options

@NobodyXu
Comment options

@myz-dev
Comment options

Comment options

You must be logged in to vote
2 replies
@myz-dev
Comment options

@polarathene
Comment options

Answer selected by myz-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants