Re: [poppler] Static build

2018-12-05 Thread Ranjan Ghosh
Hm. I tried to follow your advice and after fighting through a multitude of additional libraries that were missing, I now configure pdf2svg with this script: #!/bin/bash export CFLAGS="-static -lm -pthread "`pkg-config --cflags --static freetype2 poppler-cpp cairo lcms2 libtiff-4 libffi

Re: [poppler] Static build

2018-12-05 Thread Jeroen Ooms
On Wed, Dec 5, 2018 at 5:12 PM Ranjan Ghosh wrote: > > Hmm. I think it doesnt work that easily. Actually, I'm trying to build a > static pdf2svg which users poppler in turn. I tried to follow your > advice and installed libcairo-dev, libopenjp2-7-dev, libjpeg-dev, etc. > and then simply compiled

Re: [poppler] Static build

2018-12-05 Thread Ranjan Ghosh
Hmm. I think it doesnt work that easily. Actually, I'm trying to build a static pdf2svg which users poppler in turn. I tried to follow your advice and installed libcairo-dev, libopenjp2-7-dev, libjpeg-dev, etc. and then simply compiled poppler with -DBUILD_SHARED_LIBS=OFF. When I subsequently