Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. error : no such file or directory : 'source/libtomcrypt/mac/libtomcrypt.a'
Forum Updated to NodeBB v4.3 + New Features

error : no such file or directory : 'source/libtomcrypt/mac/libtomcrypt.a'

Scheduled Pinned Locked Moved Unsolved General and Desktop
19 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #10

    You do realise that you are already using LIBS and INCLUDEPATH in your .pro file ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Amritaaa
      wrote on last edited by
      #11

      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?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #12

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Amritaaa
          wrote on last edited by Amritaaa
          #13
          This post is deleted!
          1 Reply Last reply
          0
          • A Offline
            A Offline
            Amritaaa
            wrote on last edited by Amritaaa
            #14

            To ensure the existence of libssl

            1. " 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
              
            2. "whereis openssl" gives output -
              /usr/bin/openssl

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #15

              I don’t see any line pointing to /use/local/opt for the includes nor the libraries.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Amritaaa
                wrote on last edited by Amritaaa
                #16

                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/mac

                LIBS += -L./source/openssl/mac/x64 -lssl \
                        -L./source/openssl/mac/x64 -lcrypto
                

                }

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #17

                  Then you should rather use $$PWD to ensure you have the correct full path.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Then you should rather use $$PWD to ensure you have the correct full path.

                    A Offline
                    A Offline
                    Amritaaa
                    wrote on last edited by
                    #18

                    @SGaist : Tried $$PWD as well,, didn't help..

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #19

                      Do you see any of these paths in the generated Makefile ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved