Unsolved error : no such file or directory : 'source/libtomcrypt/mac/libtomcrypt.a'
-
You do realise that you are already using
LIBS
andINCLUDEPATH
in your .pro file ? -
Oh yes, I have added that in .pro file. I am sorry for the stupid question.
But do you have any idea why it still gives error - library not found for -lssl? -
Please show your complete .pro file.
And where exactly is your libssl located and if you use the links from
/usr/local/opt
check that they are pointing to something valid. -
This post is deleted! -
To ensure the existence of libssl
-
" ls -l /usr/local/opt/openssl" gives the output -
lrwxr-xr-x 1 katopz admin 24 Aug 20 15:21 /usr/local/opt/openssl -> ../Cellar/openssl/1.0.2p
-
"whereis openssl" gives output -
/usr/bin/openssl
-
-
I don’t see any line pointing to /use/local/opt for the includes nor the libraries.
-
I have added those library files inside my project folder and folder structure is like -
source ---> openssl ----> mac ---->x64 , libcrypto.a , libssl.a
(inside x64 folder also 2 files ae there - libcrypto.a , libssl.a )In .pro file it is mentioned like -
macx{
INCLUDEPATH += ./source/openssl
./source/openssl/macLIBS += -L./source/openssl/mac/x64 -lssl \ -L./source/openssl/mac/x64 -lcrypto
}
-
Then you should rather use
$$PWD
to ensure you have the correct full path. -
@SGaist : Tried $$PWD as well,, didn't help..
-
Do you see any of these paths in the generated Makefile ?