#Unable to compile

16 messages · Page 1 of 1 (latest)

mortal frost
visual swallow
#

do you have openssl installed on your system?

#

it seems like you don't have openssl, and your project wants to link to it dynamically

mortal frost
#

last time you helped me fix the issue. im searching for the thread

visual swallow
#

my best advice i can give you in general is: read the errors. They almost always have a hint to what is wrong, and here too, at the bottom it hints at libraries not being installed that are required during linking because one of your dependencies need it

mortal frost
#

i m confused. the 2 machines that work does not have the openssl files in /usr/local/openssl/lib while the others 2 machines have these files
engines-1.1 libcrypto.a libcrypto.so libcrypto.so.1.1 libssl.a libssl.so libssl.so.1.1 pkgconfig

visual swallow
#

then it might just be that they are not in your path, or however linux keeps track of installed libraries

mortal frost
#

how can i fix this?

visual swallow
#

i believe this to be a configuration issue, not really related to rust.

visual swallow
#

because native-tls can be a pain sometimes

mortal frost
#

do i need remove the files from /usr/local/openssl/lib

visual swallow
#

no. are you invoking cargo yourself or do you use a bash script that does all the cargo build commands etc

#

cause there might be some configuration stuff in there that is screwing something up

mortal frost
#

i invoke a bash script that does the cargo build --release