Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18652

building ssl for android: cannot find crtbegin_so.o: No such file or directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.2.1
    • Android Support

      I tried to take steps fromĀ "Adding OpenSSL Support for Android" tutorial
      In 8th step, the main one, I got error:

      /usr/bin/ld: cannot find crtbegin_so.o: No such file or directory
      Makefile.shared:169: recipe for target 'link_a.gnu' failed
      

      but

      ls /opt/android/ndk/platforms/android-21/arch-arm64/usr/lib/
      

      shows, that "crtbegin_so.o" exists

      UPD: if I do all steps as in tutorial, I will get this error:

      ./setEnv.sh: line 129: syntax error near unexpected token `)'
      ./setEnv.sh: line 129: ` arch-arm64)'
      

      cause this is incorrect script:

      case $_ANDROID_ARCH in
        arch-arm) 
          ANDROID_TOOLS="arm-linux-androideabi-gcc arm-linux-androideabi-ranlib arm-linux-androideabi-ld"
        ;;
        arch-x86) 
          ANDROID_TOOLS="i686-linux-android-gcc i686-linux-android-ranlib i686-linux-android-ld"
        ;; 
        *)
        echo "ERROR ERROR ERROR"
        arch-arm64)
          ANDROID_TOOLS="aarch64-linux-android-gcc aarch64-linux-android-ranlib aarch64-linux-android-ld"
        ;;
        ;;
      esac
      

      Its just advice, to rewatch this manual

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            portale Alessandro Portale
            ilnuribat Ilnur Ibatullin
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes