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

Error when building 3p-libxml: "./.libs/libxml2.so: undefined reference to `gzopen64'"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Unset
    • Resolution: Unresolved
    • libraries
    • None
    • Gentoo 64bit, though trying to produce a 32bit installable

    Description

      To reproduce

      1. hg clone ssh://hg@bitbucket.org/lindenlab/3p-libxml

      2. cd 3p-libxml

      3. autobuild build --all

      Expected

      Building succeeds, and one can run autobuild package to get an installable package.

      Observed

      mv -f .deps/xmllint.Tpo .deps/xmllint.Po
      /bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls  -m32 -L${PARENT_DIR}/3p-libxml/stage/packages/lib/release -o xmllint xmllint.o ./libxml2.la  -lz  -lm  
      libtool: link: gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -m32 -o .libs/xmllint xmllint.o  -L${PARENT_DIR}/3p-libxml/stage/packages/lib/release ./.libs/libxml2.so -ldl -lz -lm -Wl,-rpath -Wl,${PARENT_DIR}/3p-libxml/stage/lib
      ./.libs/libxml2.so: undefined reference to `gzopen64'
      collect2: ld returned 1 exit status
      make[2]: *** [xmllint] Error 1
      make[2]: Leaving directory `${PARENT_DIR}/3p-libxml/libxml2-2.7.8'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `${PARENT_DIR}/3p-libxml/libxml2-2.7.8'
      make: *** [all] Error 2
      ERROR: building default configuration returned 2
      For more information: try re-running your command with --verbose or --debug
      

      where PARENT_DIR is the working dir during step 1 above

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boroondas.gupte Boroondas Gupte
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: