[Poppler-bugs] [Bug 21520] New: utils/pdftoabw fails to compile due to missing libxml2 libs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 2 04:50:40 PDT 2009


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

           Summary: utils/pdftoabw fails to compile due to missing libxml2
                    libs
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: grobian at gentoo.org


Created an attachment (id=25366)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=25366)
linking fix

libtool: link: powerpc-apple-darwin8-g++ -Wall -Wno-write-strings -O3 -pipe
-mcpu=G5 -mtune=G5 -Wl,-dead_strip_dylibs -o pdftoabw pdftoabw.o parseargs.o
-Wl,-bind_at_load  -lpoppler -L/Library/Gentoo/usr/lib
/Library/Gentoo/usr/lib/libfontconfig.dylib
/Library/Gentoo/usr/lib/libiconv.dylib
/Library/Gentoo/usr/lib/libfreetype.dylib
/Library/Gentoo/usr/lib/libexpat.dylib -lopenjpeg -lz
Undefined symbols:
  "_xmlSaveFormatFileEnc", referenced from:
      _main in pdftoabw.o
  "_xmlFreeDoc", referenced from:
      _main in pdftoabw.o
  "_xmlNewDoc", referenced from:
      _main in pdftoabw.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [pdftoabw] Error 1


Attached patch is a possible way to solve it.  Most important is to include
$(ABIWORD_LIBS), as set by configure, in LDADD somehow such that libxml2 libs
are passed onto the linker.


-- 
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