PDF export fails on Linux with 'UnsatisfiedLinkError libXp.so.6'
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
PDF exports fail. The following appears in the atlassian-confluence.log
:
[ERROR] Fri May 06 19:57:02 PDT 2005 [com.atlassian.confluence.util.XWorkTransactionInterceptor] Invoking rollback for transaction on action
'/pages/doexportpage.action (ExportPageAction.execute())' due to throwable: java.lang.UnsatisfiedLinkError:
/opt/j2sdk1.4.2_08/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
Throwable:
java.lang.UnsatisfiedLinkError: /opt/j2sdk1.4.2_08/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
Other types of operations requiring the creation of custom images (thumbnail resizing) may also generate similar errors.
Cause
Your Linux installation is missing the correct X11 libraries.
Resolution
To resolve this issue, install the correct X11 libraries corresponding to your Linux distribution. See Confluence UNIX and X11 Dependencies.