Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8186438

'configure' fails to find installed libfreetype on Ubuntu AArch64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 8, 9, 10
    • infrastructure
    • None
    • OS: Ubuntu 16.04.2 LTS
      CPU: Cavium ThunderX
      kernel: 4.10.0-26-generic

    • b21
    • aarch64
    • linux, linux_ubuntu

      JDK configuration fails on out of the box system even after installation of required packages. It tries to look for freetype library in x86_64 path.

      # apt-get install libfreetype6-dev
      # bash configure
      ....
      configure: Found freetype include files at /usr/include/freetype2 using well-known location
      configure: Could not find /usr/lib/libfreetype.so. Ignoring location.
      configure: Found freetype include files at /usr/include/freetype2 using well-known location
      configure: Could not find /usr/lib/x86_64-linux-gnu/libfreetype.so. Ignoring location.
      configure: error: Could not find freetype! You might be able to fix this by running 'sudo apt-get install libfreetype6-dev'.
      configure exiting with result code 1

      Workaround: Link or copy libfreetype.so to other known location, e.g. /usr/lib
      Cross-compilation works if .so is in /usr/lib in sysroot.

            dchuyko Dmitry Chuyko
            dchuyko Dmitry Chuyko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: