Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 614
    • Issues 614
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
    • Merge Requests 38
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poppler
  • poppler
  • Issues
  • #444

Closed
Open
Opened Feb 20, 2014 by Bugzilla Migration User@bugzilla-migration

GISCAN Poppler-0.18.gir gets a link error on 'hypot@@GLIBC_2.2.5'

Submitted by William Bader

Assigned to poppler-bugs

Link to original bug (#75233)

Description

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poppler/poppler#444