![]() ![]() $ export OPENSSL_LIB_DIR=$(brew -prefix openssl)/lib Note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace If you're in a situation where you think the directory *should* be foundĪnd include information about your system as well as this message. Make sure you also have the development packages of openssl installed.įor example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora. ![]() Trouble finding it, you can set the `OPENSSL_DIR` environment variable for the If OpenSSL is installed and this crate had Run pkg_config fail: "Could not run `\"pkg-config\" \"-libs\" \"-cflags\" \"openssl\"`\nThe pkg-config command could not be found.\n\nMost likely, you need to install a pkg-config package for your OS.\nTry `brew install pkg-config` if you have Homebrew.\n\nIf you've already installed it, ensure the pkg-config command is one of the\ndirectories in the PATH environment variable.\n\nIf you did not expect this build to link to a pre-installed system library,\nthen check documentation of the openssl-sys crate for an option to\nbuild the library from source, or disable features or dependencies\nthat require pkg-config."Ĭould not find directory of OpenSSL installation, and this `-sys` crate cannot Process didn't exit successfully: `/Users/admin/project/b3/target/debug/build/openssl-sys-7ab7e6047ef6ec59/build-script-main` (exit status: 101)Ĭargo:rerun-if-env-changed=AARCH64_APPLE_DARWIN_OPENSSL_LIB_DIRĪARCH64_APPLE_DARWIN_OPENSSL_LIB_DIR unsetĬargo:rerun-if-env-changed=OPENSSL_LIB_DIRĬargo:rerun-if-env-changed=AARCH64_APPLE_DARWIN_OPENSSL_INCLUDE_DIRĪARCH64_APPLE_DARWIN_OPENSSL_INCLUDE_DIR unsetĬargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIRĬargo:rerun-if-env-changed=AARCH64_APPLE_DARWIN_OPENSSL_DIRĬargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIGĬargo:rerun-if-env-changed=PKG_CONFIG_aarch64-apple-darwinĬargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwinĬargo:rerun-if-env-changed=HOST_PKG_CONFIGĬargo:rerun-if-env-changed=OPENSSL_STATICĬargo:rerun-if-env-changed=OPENSSL_DYNAMICĬargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATICĬargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMICĬargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwinĬargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwinĬargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATHĬargo:rerun-if-env-changed=PKG_CONFIG_PATHĬargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwinĬargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwinĬargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIRĬargo:rerun-if-env-changed=PKG_CONFIG_LIBDIRĬargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwinĬargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwinĬargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIRĬargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR 08:16:29.440099: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_:113] Plugin optimizer for device_type GPU is enabled.Error: failed to run custom build command for `openssl-sys v0.9.72` 08:16:29.429435: W tensorflow/core/platform/profile_utils/cpu_:128] Failed to get CPU frequency: 0 Hz ![]() 08:16:29.422914: I tensorflow/compiler/mlir/mlir_graph_optimization_:354] MLIR V1 optimization pass is not enabled 08:16:29.411398: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_:272] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 0 MB memory) -> physical PluggableDevice (device: 0, name: METAL, pci bus id: ) Your kernel may not have been built with NUMA support. 08:16:29.411250: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_:306] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. 08:16:29.401500: I tensorflow/cc/saved_model/:122] Reading SavedModel debug info (if present) On application startup, before loading the model, load this library first: pub fn load_plugable_device(library_filename: &str) -> Result Either copy this file into PATH, or add its directory into DYLD_LIBRARY_PATH environment variable. So first ensure Apple's metal plugin is installed, then find the location of file libmetal_plugin.dylib. There is an experimental API called TF_LoadPluggableDeviceLibrary ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |