Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD_EXTENSIONS=False make install error!!! #2821

Open
4 tasks
tangliangwu opened this issue Dec 11, 2024 · 1 comment
Open
4 tasks

BUILD_EXTENSIONS=False make install error!!! #2821

tangliangwu opened this issue Dec 11, 2024 · 1 comment

Comments

@tangliangwu
Copy link

System Info

none

Information

  • Docker
  • The CLI directly

Tasks

  • An officially supported command
  • My own modifications

Reproduction

none

Expected behavior

"-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
= note: /usr/bin/ld: /home/spfx/tgi/text-generation-inference-3.0.0/target/release/deps/libopenssl-aafd127b1af2d7b3.rlib(openssl-aafd127b1af2d7b3.openssl.50414e331a930e91-cgu.00.rcgu.o): in function openssl::ssl::SslRef::peer_certificate': openssl.50414e331a930e91-cgu.00:(.text._ZN7openssl3ssl6SslRef16peer_certificate17hb6d9c5bb0094007eE+0x3): undefined reference to SSL_get_peer_certificate'
collect2: error: ld returned 1 exit status

= note: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile text-generation-router-v3 (bin "text-generation-router") due to 1 previous error
error: failed to compile text-generation-router-v3 v3.0.0 (/home/spfx/tgi/text-generation-inference-3.0.0/backends/v3), intermediate artifacts can be found at /home/spfx/tgi/text-generation-inference-3.0.0/target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
make: *** [Makefile:8: install-router] Error 101

@DragonFive
Copy link

We encounter this error too! looking forward to an official reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants