[KDE/Mac] OSX/CI: poppler fails to build on branch master

Marko Käning mk-lists at email.de
Tue Feb 10 20:25:59 UTC 2015


Hi folks,

does someone have an idea to make poppler build on OSX?
---
[ 51%] Building CXX object CMakeFiles/poppler.dir/poppler/JPEG2000Stream.cc.o
Linking CXX shared library libpoppler.dylib
ld: library not found for -lopenjp2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libpoppler.50.0.0.dylib] Error 1
make[1]: *** [CMakeFiles/poppler.dir/all] Error 2
make: *** [all] Error 2
---

But port openjpeg is installed and provides the missing library:
---
$ port contents openjpeg | grep openjp2
  /opt/local/lib/libopenjp2.2.1.0.dylib
  /opt/local/lib/libopenjp2.7.dylib
  /opt/local/lib/libopenjp2.dylib
  /opt/local/lib/pkgconfig/libopenjp2.pc
---

Greets,
Marko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: poppler.log.gz
Type: application/x-gzip
Size: 4364 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20150210/2b26b8d2/attachment.gz>


More information about the kde-mac mailing list