Wow. What a wild ride. Once you type "ldd pdf2svg" and you really see
"Not a dynamic executable" after literally days of work you almost
cannot believe it's true. Thank you so much, Jeroen! It took me a while
to finally figure it all out, but I eventually managed to build a static
pdf2svg
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
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
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
On Tue, Dec 4, 2018 at 4:44 PM Ranjan Ghosh wrote:
>
> Hi all,
>
> I'm desperately trying to create a fully static build without any
> dependencies. I already got pretty far (IMHO) and build lots and lots of
> other dependent libaries statically (cairo, freetype etc.) without
> encountering any
On 2018-12-04, Ranjan Ghosh wrote:
> [ 71%] Linking CXX executable pdftocairo
> /usr/bin/ld: /usr/local/lib/libcairo.a(cairo-image-surface.o): in function
> `_cairo_image_surface_finish':
> /usr/src/cairo/src/cairo-image-surface.c:846: undefined reference to
> `pixman_image_unref'
> /usr/bin/ld:
Hi all,
I'm desperately trying to create a fully static build without any
dependencies. I already got pretty far (IMHO) and build lots and lots of
other dependent libaries statically (cairo, freetype etc.) without
encountering any major problems.
Now, with poppler, I got a first compilation
Thanks Patrick, I guess I should try again to build with mingw to get
away from the cygwin issues. Just that cygwin has most of the
dependencies if you hunt through the package list, and I didn't have
much luck with mingw on the first attempt.
Ideally I would like to deploy to various windows
Hi,
Is it easy to build the utils statically - I would really like a
statically linked pdftohtml.exe (on Windows).
I have sucessfully built poppler under cygwin using:
./configure
make
Is there some option I can add to this to create a static build?
Thanks for any help.
mike