joshuaking321 opened a new issue, #29719:
URL: https://github.com/apache/doris/issues/29719

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.0.3
   
   ### What's Wrong?
   
   centos: 7.9.2009
   镜像版本: apache/doris:build-env-for-2.0
   doris源码版本: 2.0.3
   
   build.sh --be时出错:
   
   ```
   ld.lld: error: undefined symbol: aws_sdkutils_library_init
   >>> referenced by auth.c.o:(aws_auth_library_init) in archive 
/var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced by Api.cpp.o:(Aws::Crt::ApiHandle::ApiHandle(aws_allocator*)) 
in archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   >>> referenced by Api.cpp.o:(Aws::Crt::ApiHandle::ApiHandle()) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_sdkutils_library_clean_up
   >>> referenced by auth.c.o:(aws_auth_library_clean_up) in archive 
/var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced by Api.cpp.o:(Aws::Crt::ApiHandle::~ApiHandle()) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_profile_get_property
   >>> referenced by aws_profile.c.o:(aws_credentials_new_from_profile) in 
archive /var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced by aws_profile.c.o:(aws_credentials_new_from_profile) in 
archive /var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced by aws_profile.c.o:(aws_credentials_new_from_profile) in 
archive /var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced 9 more times
   
   ld.lld: error: undefined symbol: aws_profile_property_get_value
   >>> referenced by aws_profile.c.o:(aws_credentials_new_from_profile) in 
archive /var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced by aws_profile.c.o:(aws_credentials_new_from_profile) in 
archive /var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced by aws_profile.c.o:(aws_credentials_new_from_profile) in 
archive /var/local/thirdparty/installed/lib64/libaws-c-auth.a
   >>> referenced 16 more times
   
   ld.lld: error: undefined symbol: aws_endpoints_request_context_new
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RequestContext::RequestContext(aws_allocator*))
 in archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_request_context_release
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RequestContext::~RequestContext()) in 
archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_request_context_add_string
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RequestContext::AddString(aws_byte_cursor
 const&, aws_byte_cursor const&)) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_request_context_add_boolean
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RequestContext::AddBoolean(aws_byte_cursor
 const&, bool)) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_resolved_endpoint_release
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::ResolutionOutcome::~ResolutionOutcome()) 
in archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_resolved_endpoint_get_type
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::ResolutionOutcome::IsEndpoint() const) 
in archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::ResolutionOutcome::IsError() const) in 
archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_resolved_endpoint_get_url
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::ResolutionOutcome::GetUrl() const) in 
archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_resolved_endpoint_get_headers
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::ResolutionOutcome::GetHeaders() const) 
in archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: 
aws_endpoints_resolved_endpoint_get_properties
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::ResolutionOutcome::GetProperties() 
const) in archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_resolved_endpoint_get_error
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::ResolutionOutcome::GetError() const) in 
archive /var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_ruleset_new_from_string
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RuleEngine::RuleEngine(aws_byte_cursor 
const&, aws_byte_cursor const&, aws_allocator*)) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_partitions_config_new_from_string
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RuleEngine::RuleEngine(aws_byte_cursor 
const&, aws_byte_cursor const&, aws_allocator*)) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_rule_engine_new
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RuleEngine::RuleEngine(aws_byte_cursor 
const&, aws_byte_cursor const&, aws_allocator*)) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_ruleset_release
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RuleEngine::RuleEngine(aws_byte_cursor 
const&, aws_byte_cursor const&, aws_allocator*)) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_partitions_config_release
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RuleEngine::RuleEngine(aws_byte_cursor 
const&, aws_byte_cursor const&, aws_allocator*)) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: undefined symbol: aws_endpoints_rule_engine_release
   >>> referenced by 
RuleEngine.cpp.o:(Aws::Crt::Endpoints::RuleEngine::~RuleEngine()) in archive 
/var/local/thirdparty/installed/lib64/libaws-crt-cpp.a
   
   ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to 
see all errors)
   clang-16: error: linker command failed with exit code 1 (use -v to see 
invocation)
   ninja: build stopped: subcommand failed
   ```
   
   ### What You Expected?
   
   问题在哪?是使用的镜像版本问题吗
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to