Project

General

Profile

Actions

Bug #13180

open

printmgr doesn't work with any current java

Added by Peter Tribble almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

If you try and run printmgr, it appears to have been broken for a while. You get:

$ printmgr
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/sadm/admin/printmgr/lib/libpmgr.so.1: ld.so.1: java: fatal: /usr/sadm/admin/printmgr/lib/libpmgr.so.1: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1850)
at java.lang.Runtime.loadLibrary0(Runtime.java:871)
at java.lang.System.loadLibrary(System.java:1124)
at com.sun.admin.pm.server.DoPrinterNS.<clinit>(DoPrinterNS.java:54)
at com.sun.admin.pm.server.NameService.checkAuth(NameService.java:137)
at com.sun.admin.pm.client.pmTop.pmTopInit(pmTop.java:147)
at com.sun.admin.pm.client.pmTop.<init>(pmTop.java:120)
at com.sun.admin.pm.client.pmTop.main(pmTop.java:1264)

All current supported JVMs are 64-bit (8 or 11), so the jni library (libpmgr.so.1) needs to be 64-bit as well.

Actions

Also available in: Atom PDF