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

   ### 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
   
   master
   
   ### What's Wrong?
   
   ```shell
   ld.lld: error: duplicate symbol: SHA224
   >>> defined at my_sha2.cc.o:(SHA224) in archive 
/Programs/doris/thirdparty/installed/lib/libmysqlclient.a
   >>> defined at sha256.c
   >>>            sha256.o:(.text+0x4F0) in archive 
/Programs/doris/thirdparty/installed/lib/libcrypto.a
   
   ld.lld: error: duplicate symbol: SHA256
   >>> defined at my_sha2.cc.o:(SHA256) in archive 
/Programs/doris/thirdparty/installed/lib/libmysqlclient.a
   >>> defined at sha256.c
   >>>            sha256.o:(.text+0x580) in archive 
/Programs/doris/thirdparty/installed/lib/libcrypto.a
   
   ld.lld: error: duplicate symbol: SHA384
   >>> defined at my_sha2.cc.o:(SHA384) in archive 
/Programs/doris/thirdparty/installed/lib/libmysqlclient.a
   >>> defined at sha512.c
   >>>            sha512.o:(.text+0x7D0) in archive 
/Programs/doris/thirdparty/installed/lib/libcrypto.a
   
   ld.lld: error: duplicate symbol: SHA512
   >>> defined at my_sha2.cc.o:(SHA512) in archive 
/Programs/doris/thirdparty/installed/lib/libmysqlclient.a
   >>> defined at sha512.c
   >>>            sha512.o:(.text+0x870) in archive 
/Programs/doris/thirdparty/installed/lib/libcrypto.a
   collect2: error: ld returned 1 exit status
   ninja: build stopped: subcommand failed.
   ```
   
   ### What You Expected?
   
   Build BE with MySQL support successfully.
   
   ### How to Reproduce?
   
   ```
   WITH_MYSQL=ON ./build.sh --be --clean
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to