Bug#653061: libgs9 exports symbols conflicting with the same symbols in libjpeg8
Hi,
Jean Brefort wrote:
> Three symbols are concerned:
> jpeg_mem_init, jpeg_mem_term and jpeg_mem_available.
>
> Building an executable using the two libraries might crash. This happens for me
> with gnumeric (from git) when goffice is built with eps support and when I try
> to add a jpeg image inside a sheet.
More details would be useful, including a stacktrace or error messages
if possible.
>From gs/base/sjpegc.c:
Ghostscript uses a non-public interface to libjpeg in order to
override the library's default memory manager implementation.
Do you know if libjpeg provides a way to use a custom allocator
without interfering with other modules in the same process image
that might not want to use it?
Thanks,
Jonathan
Reply to: