[Poppler-bugs] [Bug 75233] New: GISCAN Poppler-0.18.gir gets a link error on 'hypot@@GLIBC_2.2.5'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 19 16:03:00 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75233

          Priority: medium
            Bug ID: 75233
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: GISCAN Poppler-0.18.gir gets a link error on
                    'hypot@@GLIBC_2.2.5'
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: williambader at hotmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: glib frontend
           Product: poppler

I cloned poppler from the git source on 19 Feb 2014.
I am building on 64 bit Fedora 17 with the distributed gcc 4.7.2.
I can do a normal build without any problem, but if I try a static build with
./configure --enable-static --disable-shared
the build fails linking Poppler-0.18.gir.  I have the last few lines of the
make output below.  I think that one of the *.la files needs -lm in its list of
dependency_libs.
If I continue with "make -i", everything else builds, so it might be related to
the rules to build Poppler-0.18.gir.
Configuring with "export LDFLAGS=-lm" first gets LIBS=-lm into the top level
Makefile but it still gets the link error.
Other people have had this error with other packages, so it might be related to
libtool or Fedora.
https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues/40
https://github.com/mate-desktop/mate-netspeed/issues/7
William

make[4]: Entering directory `/tmp/x/poppler-static/glib'
  CC     poppler-enums.lo
  CXX    poppler-action.lo
  CXX    poppler-date.lo
  CXX    poppler-document.lo
  CXX    poppler-page.lo
  CXX    poppler-attachment.lo
  CXX    poppler-form-field.lo
  CXX    poppler-annot.lo
  CXX    poppler-layer.lo
  CXX    poppler-media.lo
  CXX    poppler-movie.lo
  CXX    poppler-cached-file-loader.lo
  CXX    poppler-input-stream.lo
  CXX    poppler-structure-element.lo
  CXX    poppler.lo
  CXXLD  libpoppler-glib.la
  GISCAN Poppler-0.18.gir
/usr/bin/ld: /tmp/x/poppler-static/poppler/.libs/libpoppler.a(GfxState.o):
undefined reference to symbol 'hypot@@GLIBC_2.2.5'
/usr/bin/ld: note: 'hypot@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so
try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool',
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o',
'/tmp/x/poppler-static/glib/tmp-introspectg9Qjn4/Poppler-0.18',
'-export-dynamic',
'/tmp/x/poppler-static/glib/tmp-introspectg9Qjn4/Poppler-0.18.o', '-L.',
'libpoppler-glib.la', '-pthread', '-Wl,--export-dynamic', '-lgio-2.0',
'-lgobject-2.0', '-lgthread-2.0', '-lgmodule-2.0', '-lrt', '-lglib-2.0']'
returned non-zero exit status 1
make[4]: *** [Poppler-0.18.gir] Error 1
make[4]: Leaving directory `/tmp/x/poppler-static/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/x/poppler-static/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/x/poppler-static/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/x/poppler-static'
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140220/01113308/attachment.html>


More information about the Poppler-bugs mailing list