PDF export fails on Linux with 'UnsatisfiedLinkError libXp.so.6'
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
:
1
2
3
4
5
[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.
Was this helpful?