[Poppler-bugs] [Bug 26442] New: poppler-0.12.3 fails to compile glib component when gtk was found

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 5 01:59:44 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26442

           Summary: poppler-0.12.3 fails to compile glib component when gtk
                    was found
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glib frontend
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: grobian at gentoo.org


Created an attachment (id=33091)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33091)
darwin gtk link fix

Using the Cmake way to build.
The full error is multiple pages long, but this gives the idea:

Linking CXX shared library libpoppler-glib.dylib
ld warning: duplicate dylib /Library/Gentoo/lib/libz.dylib
Undefined symbols:
  "_g_type_class_add_private", referenced from:
      poppler_attachment_class_init(_PopplerAttachmentClass*)       in
poppler-attachment.cc.o
  "_g_value_set_flags", referenced from:
      poppler_document_get_property(_GObject*, unsigned int, _GValue*,
_GParamSpec*)in poppler-document.cc.o
      poppler_document_get_property(_GObject*, unsigned int, _GValue*,
_GParamSpec*)in poppler-document.cc.o
  "_g_type_check_instance_is_a", referenced from:
      _poppler_ps_file_new in poppler-document.cc.o
      _poppler_document_has_attachments in poppler-document.cc.o
      _poppler_document_get_n_pages in poppler-document.cc.o
      _poppler_font_info_new in poppler-document.cc.o


The _g_XXX symbols come from gtk, which libraries are not given to the linker
when GTK is found.  I will attach a patch which fixes this for me.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list