Print

Print


I think it is due to the shared libs depending on libg2c.so.0. I removed
this library so that the classic libs do not have it as a dependency.

Steve.

ldd: warning: you do not have execution permission for
`/star/starjava/lib/i386/libjniast.so'
        libg2c.so.0 => not found
        libm.so.6 => /lib/libm.so.6 (0x401e6000)
        libc.so.6 => /lib/libc.so.6 (0x40207000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)


-----Original Message-----
From: Starlink development [mailto:[log in to unmask]] On Behalf Of
Rankin, SE (Stephen)
Sent: 26 May 2004 17:33
To: [log in to unmask]
Subject: Re: STARJAVA Test

I am also getting the following error when I start Treeview:

[ussc@saturn ~/starjava-log]$ treeview
26-May-2004 17:29:28 uk.ac.starlink.ast.AstPackage isAvailable
WARNING: JNIAST native library not on java.library.path - no WCS processing
Warning: Cannot convert string "MetaCtrl<Key>Insert" to type VirtualBinding

Steve.

-----Original Message-----
From: Starlink development [mailto:[log in to unmask]] On Behalf Of
Rankin, SE (Stephen)
Sent: 26 May 2004 17:29
To: [log in to unmask]
Subject: STARJAVA Test

I was just doing a rebuild of the USSC219 branch, but get the following
error with JNIAST. I have the JNI jar files on the CLASSPATH and the i386
directory on the LD_LIBRARY_PATH:

build:

compile-tests:
    [mkdir] Created dir:
/apps/cvsbuild/classic/star-lnx-dev/sources/starjava/source/jniast/build/tes
tcases
    [javac] Compiling 9 source files to
/apps/cvsbuild/classic/star-lnx-dev/sources/starjava/source/jniast/build/tes
tcases

run-tests:
    [junit] Testsuite: uk.ac.starlink.ast.AstTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.42 sec
    [junit] ------------- Standard Error -----------------
    [junit] 26-May-2004 17:21:12 uk.ac.starlink.ast.AstPackage isAvailable
    [junit] WARNING: JNIAST native library not on java.library.path - no WCS
processing
    [junit] ------------- ---------------- ---------------

    [junit] Testcase: testAstObject took 0.41 sec
    [junit]     FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError
    [junit]     at uk.ac.starlink.ast.AstTest.setUp(AstTest.java:46)

    [junit] Testcase: testAstObject

BUILD FAILED
file:/apps/cvsbuild/classic/star-lnx-dev/sources/starjava/source/jniast/buil
d.xml:1323: Test uk.ac.starlink.ast.AstTest failed

Steve.