Cannot find library that is on the system #137
-
Hi,
for a while now I have been trying to cross compile my project with a specific GLIBC version on my target system. From the root directory of my project I run I have checked my installation of the package The library for the target system is under So how can I tell Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
It's likely you are missing pkg-config for this |
Beta Was this translation helpful? Give feedback.
-
This is a link time error during build. If you do not experience this problem with Are you certain the issue is with |
Beta Was this translation helpful? Give feedback.
/etc/ld.so.conf.d/*
is for building/etc/ld.so.cache
DB, if you add a new config there you would need to runldconfig
to update the cache. However this is only for adding search paths for runtime linking (when a program starts, or you useldd
for example), similar to howLD_LIBRARY_PATH
is for runtime not build time.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 tocargo zigbuild
for that same …