[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Veritas NetBackup / jvm / libc.so.6



this may be a shot in the dark, but i ran into a similar problem
installing oracle on fedora[1].  you can try and preload this
libcwait.so:

cat << EOF |
#include <errno.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
pid_t
__libc_wait (int *status)
{
  int res;
  asm volatile ("pushl %%ebx\n\t"
                "movl %2, %%ebx\n\t"
                "movl %1, %%eax\n\t"
                "int \$0x80\n\t"
                "popl %%ebx"
                : "=a" (res)
                : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d"
(0), "S" (0));
  return res;
}
EOF
gcc -O2 -shared -fpic -xc - -o libcwait.so

you may also find LD_LINUX_KERNEL=2.4.19 useful.

good luck!

rob.

[1] http://www.puschitz.com/InstallingOracle9i.shtml

On Tue, 2004-02-17 at 15:34, alklein integraonline com wrote:
> X-Reply-To: alklein yahoo com
> 
> Hi all,
> 
> I'm trying to get Veritas NetBackup 4.5DC's java administration console running on my FC-1 box.
> 
> I did the install and when I start /usr/openv/netbackup/bin/jnbSA, I get the following error:
> 
>   "Error occurred during initializaton of VM
>   Unable to load native library: /usr/openv/java/jre/lib/i386/libjava.so: symbol_libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference"
> 
> I'm not entirely sure I understand the problem, but I've tried the following to fix it:
> 
> 1.  Setting all of NetBackup's java libs that are mentioned in the errors as symlinks to the corresponding newer files in the J2re1.4.2_03 I installed from Sun.  This produces the following error:
> 
>   "Error occurred during initializaton of VM
>   java.lang.NoSuchMethodError: java.lang.Thread.holdsLock(Ljava/lang/Object;)Z
> 
> 2.  I checked ldd /usr/openv/java/jre/lib/i386/libjava.so and added the necessary paths, ran ldconfig and still get the same error.
> 
> 3.  Checked Google and Veritas' site for any Fedora / jvm / Linux references and found nothing of use.
> 
> Advice, insight, suggestions would be very helpful.
> 
> Thanks,
> 
> Adam
> --
> Adam Klein
> <alklein at integra online dot com>
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]