El dijous, 7 de setembre de 2017, a les 19:44:09 CEST, William Bader va escriure: > >Can you me more specific about the exact name of the library please? > > ldd pdftops shows it as > libjbig.so.2.1 => /lib64/libjbig.so.2.1
It's not a direct dependency of poppler http://i.imgur.com/5TZ6sSD.png You can get this nice graph using $ draw_lib_dependencies libpoppler.so deps.png Cheers, Albert > > > I have Fedora 25 which might affect the version numbers. > > dnf provides /usr/lib64/libjbig.so.2.1 > > returns > > jbigkit-libs-2.1-5.fc24.x86_64 : JBIG1 lossless image compression library > > > The library is a minor thing, but I remember from a patch that added > compression that some compression and decompression libraries have > vulnerabilities. > > At least for testing with my files, the autotools static pdftops with the > library and the cmake static pdftops without the library both worked fine. > > Regards, William > > ________________________________ > From: poppler <[email protected]> on behalf of Albert > Astals Cid <[email protected]> Sent: Thursday, September 7, 2017 1:37 PM > To: [email protected] > Subject: Re: [poppler] cmake and static binaries > > El dimecres, 6 de setembre de 2017, a les 20:09:06 CEST, William Bader va > > escriure: > > >You're the one that thinks static builds are a good idea, so you should > > >know if it's a problem or not :D > > > > What I meant is that I am not sure if the default build should or should > > not include jbig. Either the autotools build is pulling in too much or > > the cmake build is missing a test. I think that jbig provides lossless > > compression. If it is not linked in, does that mean that poppler loses > > the functionality or that poppler uses another library or that poppler > > uses its own implementation? > > Can you me more specific about the exact name of the library please? > > Cheers, > Albert > > > Regards, William > > > > > > ________________________________ > > From: Albert Astals Cid <[email protected]> on behalf of Albert Astals Cid > > <[email protected]> Sent: Wednesday, September 6, 2017 1:41 PM > > To: [email protected] > > Cc: William Bader > > Subject: Re: [poppler] cmake and static binaries > > > > El dimarts, 5 de setembre de 2017, a les 18:40:31 CEST, William Bader va > > > > escriure: > > > Thanks, that worked! > > > > > > > > > I ran 'ldd' on both pdftops executables, and the executable I compiled > > > yesterday with autotools has one additional library compared to the one > > > I > > > built now with cmake: libjbig > > > > > > Is that a problem? I reran the autotools build and grep for jbig didn't > > > find anything in configure or the makefiles, but ldd pdftops still shows > > > it. > > > > You're the one that thinks static builds are a good idea, so you should > > know if it's a problem or not :D > > > > I'll commit that patch anyway it's not a big change and if it makes you > > happy something is something. > > > > Cheers, > > > > Albert > > > > > Regards, William > > > > > > > > > ________________________________ > > > From: poppler <[email protected]> on behalf of > > > Albert > > > Astals Cid <[email protected]> Sent: Tuesday, September 5, 2017 1:32 PM > > > To: [email protected] > > > Subject: Re: [poppler] cmake and static binaries > > > > > > El dilluns, 4 de setembre de 2017, a les 13:43:10 CEST, William Bader va > > > > > > escriure: > > > > I mainly use the poppler pdftops utility, and with autotools, I have > > > > been > > > > using --enable-static --disable-shared so that I have a single > > > > executable > > > > instead of an executable and library. Is there an equivalent with > > > > cmake? > > > > Adding -DBUILD_SHARED_LIBS=OFF didn't seem to make any different. > > > > Thanks, > > > > William > > > > > > I'm not really very happy supporting static builds but sine this seems > > > to > > > be a small change, can you verify this patch works for you? > > > > > > Cheers, > > > > > > Albert > > _______________________________________________ > poppler mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/poppler > poppler Info Page - > freedesktop.org<https://lists.freedesktop.org/mailman/listinfo/poppler> > lists.freedesktop.org > Subscribing to poppler: Subscribe to poppler by filling out the following > form. Use of all freedesktop.org lists is subject to our Code of ... _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
