Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-23

non-standalone build error due to missing libfreetype.so. libpangoft2-1.0.so: undefined reference to `FT_Realloc'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reviewing
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: viewer build
    • Labels:
      None
    • Environment:
      Gentoo Linux 32-bit chroot.

      Description

      There is a missing .so from the prebuilt liberieas. libfreetype.so from http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/freetype-2.3.9-linux-20090521c.tar.bz2

      The 32-bit NOT standalone build will fail with this error:

      /home/snow2/trunk/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so: undefined reference to `FT_Realloc'
      /home/snow2/trunk/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so: undefined reference to `FT_Alloc'
      /home/snow2/trunk/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so: undefined reference to `FT_Free'
      

      Note that there is a libfreetype.a in there, but linking to that will result in this error:

      /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: linux-updater: hidden symbol `FT_Realloc' in ../../../libraries/i686-linux/lib_release_client/libfreetype.a(ftbase.o) is referenced by DSO
      /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
      

      Workaround:

      https://wiki.secondlife.com/wiki/User:Michelle2_Zenovka/cmake#Gentoo

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              boroondas.gupte Boroondas Gupte
              Reporter:
              techwolf.lupindo Techwolf Lupindo
              Extended Group Visibility:
              jira-users
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  PagerDuty