5/17/2023 0 Comments Brew install mysql client onlyI set the PATH and flags as in that warning message, but I still get the above linking error when trying to install the diesel-cli tool. ![]() If you need to have mysql-client first in your PATH run:Įcho 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' > ~/.bash_profileįor compilers to find mysql-client you may need to set:Įxport LDFLAGS="-L/usr/local/opt/mysql-client/lib"Įxport CPPFLAGS="-I/usr/local/opt/mysql-client/include” Mysql-client is keg-only, which means it was not symlinked into /usr/local, During installation I got the following warning: ![]() I installed mysql client using home-brew : brew install mysql-client. Hi there, I have been trying to install the rust diesel cli tool, using cargo install diesel_cli, but the installation fails with a linking errorĬlang: error: linker command failed with exit code 1
0 Comments
Leave a Reply. |