pgdbg fails to start


on our Linux clsuter the pgdbg will not start.

I get:

PGDBG 6.1-4 x86-64 (Cluster, 16 CPU)
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2006, STMicroelectronics, Inc. All Rights Reserved.
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at splashLoader$ Source)
at Source)
Caused by: java.lang.UnsatisfiedLinkError:
/Net/cluster/pgi/linux86-64/6.1/lib/ cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at jpgdbg.main(Unknown Source)
… 6 more

but, “ll /Net/cluster/pgi/linux86-64/6.1/lib/”
-rwxr-xr-x 1 bin bin 5405 2006-04-06 01:37 /Net/cluster/pgi/linux86-64/6.1/lib/

This error may be caused by a configuration problem. We’ll have to exchange a few messages to determine that. Please answer the following points first:

  1. Verify that $PGI/linux86-64/6.1/jre/java exists. If this does not exist,
    then it’s possible that the PGDBG is picking up an incompatible version
    of java from your path.

  2. Check to see if you happen to have the PGI_JAVA environment variabled defined (e.g., enter “echo $PGI_JAVA” or execute “env” and look for it). This is used to substitute the JAVA JRE used by PGI tools. In general, you would rarely, if ever, define it. If PGI_JAVA is defined, try undefining it. If PGI_JAVA is not defined, then you can try defining it to $PGI/linux86-64/6.1/jre/java (assuming $PGI/linux86-64/6.1/jre/java exists). On csh/tcsh shells, enter “setenv PGI_JAVA $PGI/linux86-64/6.1/jre/java”. On sh/bash shells, enter “export PGI_JAVA=$PGI/linux86-64/6.1/jre/java”.

  3. Since you’re using a cluster, are you running PGDBG from the head node, or a slave node?

  4. What version of linux (kernel rev, glibc version, brand of distribution – including version, etc.) are you running?

  5. Does pgprof (the PGI profiler) work, or do you get a similar message?




thank’s for the quick reply !!
It is the access node of the cluster (SuSE SLES 9 SP3, Quad Opteron).
From the head node a nfs-export holds the software
head /cluster -> all other nodes /Net/cluster (a link on the head node as well).

$PGI/linux86-64/6.1/jre/java does NOT exist !
but $PGI/linux86-64/6.1/jre/bin/java

I’ve tried also the new JAVA stuff, installed into another folder … :(
not working

Linux tundra 2.6.5-7.191-smp #1 SMP
Tue Jun 28 14:58:56 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux

GNU C Library stable release version 2.3.5 (20050720), by Roland McGrath et al.
Copyright © 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Configured for i686-suse-linux.
Compiled by GNU CC version 3.3.3 (SuSE Linux).
Compiled on a Linux 2.6.5 system on 2005-12-09.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
GNU Libidn by Simon Josefsson
NoVersion patch for broken glibc 2.0 binaries
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk

pgproof gives the following error:

Exception in thread “main” java.lang.UnsatisfiedLinkError: /Net/cluster/pgi/linux86-64/6.1/jre/lib/i386/xawt/ cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)

Is there somewhere a config file holding the paths ?

Bye, Peer


I found some information on the internet related to the error you’re seeing with PGPROF. My guess is that it’s related to the error you’re seeing with PGDBG. The information is at

Search for “ cannot open shared object file” on the page. There’s actually two places in the document that this is talked about, so you may want to search for it twice.

In summary, it sounds like you may not have all (or any) of the 32-bit X11 libs on your system required by Java. Perhaps this is the case since you’re running 64-bit. The PGDBG/PGPROF GUIs are 32-bit applications.

Another option is to try a new version of java. A newer version of java may not have this problem. You can download it at (the latest version is 1.5.0_06, we’re shipping 1.5.0_05). After you install it, you can set your PGI_JAVA environment variable to the new java. It’ll be located in (the installation root directory)/jre/bin/java (e.g., setenv PGI_JAVA (the installation root directory)/jre/bin/java on csh/tcsh or
export PGI_JAVA=(the installation root directory)/jre/bin/java on bash/sh).