[Gambas-bugtracker] Bug #1560: gb.pdf fails to load every time libpoppler is updated

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Apr 4 19:50:59 CEST 2019


Comment #2 by Tobias BOEGE:

When you link an object to a shared library, the .so's path is recorded in the object:

  $ readelf -d /usr/lib/gambas3/gb.pdf.so | grep poppler
  0x0000000000000001 (NEEDED)             Shared library: [libpoppler.so.85]
  $ ldd /usr/lib/gambas3/gb.pdf.so | grep poppler
  libpoppler.so.85 => /usr/lib/libpoppler.so.85 (0x00007fde27205000)

Otherwise you'd update poppler, it changes its version number (indicating a breaking change
most likely) and risk calling into an incompatible API/ABI.

If you update your libraries, you have to recompile Gambas. Isn't that normal?

More information about the Bugtracker mailing list