Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

libc.so.6 / VM problem

7 posts in General Discussion Last posting was on 2004-02-17 19:46:19.0Z
Ah-Hock Tan Posted on 2004-02-11 19:19:41.0Z
From: "Ah-Hock Tan" <ah_hock_tan@eli.net>
Newsgroups: ianywhere.public.general
Subject: libc.so.6 / VM problem
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Original-NNTP-Posting-Host: corp01.eli.net
Message-ID: <402a82dd$1@forums-2-dub>
X-Original-Trace: 11 Feb 2004 11:30:37 -0800, corp01.eli.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 11 Feb 2004 11:01:45 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 11 Feb 2004 11:19:41 -0800
X-Trace: forums-1-dub 1076527181 10.22.108.75 (11 Feb 2004 11:19:41 -0800)
X-Original-Trace: 11 Feb 2004 11:19:41 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2468
Article PK: 5612

Hi ALL,

I tried to bring up Sybase Central using scjview and I got the following
error message:

Error occurred during initialization of VM. Unable to load library:
/opt/sybase/shared/jre_1.3.1_linux_sun_i386/lib/i386/libjava.so: symbol
__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time
reference.

I am using SQL Anywhere Studio 8.0.2 for unix/linux. There is a solution on
the Solved Cases section on Sybase site but it only applies to the
Enterprise version of the software. Any help in this matter is greatly
appreciated.

Thank you.

ATAN


Jeffrey Siegal Posted on 2004-02-12 01:29:53.0Z
Message-ID: <402AD2D3.1080704@quiotix.com>
From: Jeffrey Siegal <jbs@quiotix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: libc.so.6 / VM problem
References: <402a82dd$1@forums-2-dub>
In-Reply-To: <402a82dd$1@forums-2-dub>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: jeff-pc.quiotix.com
X-Original-Trace: 11 Feb 2004 17:40:46 -0800, jeff-pc.quiotix.com
Lines: 36
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 11 Feb 2004 17:11:49 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 11 Feb 2004 17:29:53 -0800
X-Trace: forums-1-dub 1076549393 10.22.108.75 (11 Feb 2004 17:29:53 -0800)
X-Original-Trace: 11 Feb 2004 17:29:53 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2469
Article PK: 5606


Ah-Hock Tan wrote:
> Hi ALL,
>
> I tried to bring up Sybase Central using scjview and I got the following
> error message:
>
> Error occurred during initialization of VM. Unable to load library:
> /opt/sybase/shared/jre_1.3.1_linux_sun_i386/lib/i386/libjava.so: symbol
> __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time
> reference.
>
> I am using SQL Anywhere Studio 8.0.2 for unix/linux. There is a solution on
> the Solved Cases section on Sybase site but it only applies to the
> Enterprise version of the software. Any help in this matter is greatly
> appreciated.

You must have updated your operating system becuse the above message
indicates it is too new for the 1.3.1 JRE bundled with ASA.

I've found the following is an effective work-around (for example if
trying to run the Java clients on RHEL 3):

First invoke the tool with the -batch argument. This will create a file
called {tool}.sh. Edit the .sh file and make the following changes:

1. Change the explicit path on the java command to point to the 1.4.2
JDK (or just change it to java if the 1.4.2 JDK is in your path).

2. Remove the -Xbootclasspath from the command line entirely.

After editing the .sh file, you can now start the tool with the sh
command (or change the file to be executable and invoke it directly).

It is possible there might be some incompatibilities between Sybase's
Java code (written for Java 1.3.1) and Java 1.4.2 , but I haven't seen
any. It seems to work fine.


Ah-Hock Tan Posted on 2004-02-12 22:53:20.0Z
From: "Ah-Hock Tan" <ah_hock_tan@eli.net>
Newsgroups: ianywhere.public.general
References: <402a82dd$1@forums-2-dub> <402AD2D3.1080704@quiotix.com>
Subject: Re: libc.so.6 / VM problem
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: corp01.eli.net
X-Original-NNTP-Posting-Host: corp01.eli.net
Message-ID: <402c03e0$1@forums-1-dub>
Date: 12 Feb 2004 14:53:20 -0800
X-Trace: forums-1-dub 1076626400 209.210.3.17 (12 Feb 2004 14:53:20 -0800)
X-Original-Trace: 12 Feb 2004 14:53:20 -0800, corp01.eli.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2476
Article PK: 5615

Hi Jeffrey,

Thank you for the pointer but I'm very new to linux (just started a week
ago). I ran scjview -batch but I wasn't able to find the file {tool}.sh. Can
you shed some light on it? I did upgrade the jre to 1.4.2. Should I go back
to jre 1.3? The linux I have is Fedora Core (I think it's actually Redhat
Linux version 7).

Thanks in advance.

ATAN

"Jeffrey Siegal" <jbs@quiotix.com> wrote in message
news:402AD2D3.1080704@quiotix.com...
> Ah-Hock Tan wrote:
> > Hi ALL,
> >
> > I tried to bring up Sybase Central using scjview and I got the following
> > error message:
> >
> > Error occurred during initialization of VM. Unable to load library:
> > /opt/sybase/shared/jre_1.3.1_linux_sun_i386/lib/i386/libjava.so: symbol
> > __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link
time
> > reference.
> >
> > I am using SQL Anywhere Studio 8.0.2 for unix/linux. There is a solution
on
> > the Solved Cases section on Sybase site but it only applies to the
> > Enterprise version of the software. Any help in this matter is greatly
> > appreciated.
>
> You must have updated your operating system becuse the above message
> indicates it is too new for the 1.3.1 JRE bundled with ASA.
>
> I've found the following is an effective work-around (for example if
> trying to run the Java clients on RHEL 3):
>
> First invoke the tool with the -batch argument. This will create a file
> called {tool}.sh. Edit the .sh file and make the following changes:
>
> 1. Change the explicit path on the java command to point to the 1.4.2
> JDK (or just change it to java if the 1.4.2 JDK is in your path).
>
> 2. Remove the -Xbootclasspath from the command line entirely.
>
> After editing the .sh file, you can now start the tool with the sh
> command (or change the file to be executable and invoke it directly).
>
> It is possible there might be some incompatibilities between Sybase's
> Java code (written for Java 1.3.1) and Java 1.4.2 , but I haven't seen
> any. It seems to work fine.


Jeffrey Siegal Posted on 2004-02-13 08:09:56.0Z
Message-ID: <402C8217.80301@quiotix.com>
From: Jeffrey Siegal <jbs@quiotix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: libc.so.6 / VM problem
References: <402a82dd$1@forums-2-dub> <402AD2D3.1080704@quiotix.com> <402c03e0$1@forums-1-dub>
In-Reply-To: <402c03e0$1@forums-1-dub>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: adsl-63-198-99-82.dsl.snfc21.pacbell.net
X-Original-NNTP-Posting-Host: adsl-63-198-99-82.dsl.snfc21.pacbell.net
Date: 13 Feb 2004 00:09:56 -0800
X-Trace: forums-1-dub 1076659796 63.198.99.82 (13 Feb 2004 00:09:56 -0800)
X-Original-Trace: 13 Feb 2004 00:09:56 -0800, adsl-63-198-99-82.dsl.snfc21.pacbell.net
Lines: 70
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2477
Article PK: 5614


Ah-Hock Tan wrote:

> Hi Jeffrey,
>
> Thank you for the pointer but I'm very new to linux (just started a week
> ago). I ran scjview -batch but I wasn't able to find the file {tool}.sh.

If you run scjview -batch, you should find a file called scjview -batch
in your current directory. That's what was meant by {tool}.sh. For
each tool you use -batch on (such as scjview, dbisql, etc.), you get a
different file.

Can
> you shed some light on it? I did upgrade the jre to 1.4.2. Should I go back
> to jre 1.3? The linux I have is Fedora Core (I think it's actually Redhat
> Linux version 7).
>
> Thanks in advance.
>
> ATAN
>
> "Jeffrey Siegal" <jbs@quiotix.com> wrote in message
> news:402AD2D3.1080704@quiotix.com...
>
>>Ah-Hock Tan wrote:
>>
>>>Hi ALL,
>>>
>>>I tried to bring up Sybase Central using scjview and I got the following
>>>error message:
>>>
>>>Error occurred during initialization of VM. Unable to load library:
>>>/opt/sybase/shared/jre_1.3.1_linux_sun_i386/lib/i386/libjava.so: symbol
>>>__libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link
>
> time
>
>>>reference.
>>>
>>>I am using SQL Anywhere Studio 8.0.2 for unix/linux. There is a solution
>
> on
>
>>>the Solved Cases section on Sybase site but it only applies to the
>>>Enterprise version of the software. Any help in this matter is greatly
>>>appreciated.
>>
>>You must have updated your operating system becuse the above message
>>indicates it is too new for the 1.3.1 JRE bundled with ASA.
>>
>>I've found the following is an effective work-around (for example if
>>trying to run the Java clients on RHEL 3):
>>
>>First invoke the tool with the -batch argument. This will create a file
>>called {tool}.sh. Edit the .sh file and make the following changes:
>>
>>1. Change the explicit path on the java command to point to the 1.4.2
>>JDK (or just change it to java if the 1.4.2 JDK is in your path).
>>
>>2. Remove the -Xbootclasspath from the command line entirely.
>>
>>After editing the .sh file, you can now start the tool with the sh
>>command (or change the file to be executable and invoke it directly).
>>
>>It is possible there might be some incompatibilities between Sybase's
>>Java code (written for Java 1.3.1) and Java 1.4.2 , but I haven't seen
>>any. It seems to work fine.
>
>
>


Jeffrey Siegal Posted on 2004-02-13 08:10:52.0Z
Message-ID: <402C824F.9000208@quiotix.com>
From: Jeffrey Siegal <jbs@quiotix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
To: Jeffrey Siegal <jbs@quiotix.com>
Subject: Re: libc.so.6 / VM problem
References: <402a82dd$1@forums-2-dub> <402AD2D3.1080704@quiotix.com> <402c03e0$1@forums-1-dub> <402C8217.80301@quiotix.com>
In-Reply-To: <402C8217.80301@quiotix.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: adsl-63-198-99-82.dsl.snfc21.pacbell.net
X-Original-NNTP-Posting-Host: adsl-63-198-99-82.dsl.snfc21.pacbell.net
Date: 13 Feb 2004 00:10:52 -0800
X-Trace: forums-1-dub 1076659852 63.198.99.82 (13 Feb 2004 00:10:52 -0800)
X-Original-Trace: 13 Feb 2004 00:10:52 -0800, adsl-63-198-99-82.dsl.snfc21.pacbell.net
Lines: 16
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2478
Article PK: 5616


Jeffrey Siegal wrote:

> Ah-Hock Tan wrote:
>
>> Hi Jeffrey,
>>
>> Thank you for the pointer but I'm very new to linux (just started a week
>> ago). I ran scjview -batch but I wasn't able to find the file {tool}.sh.
>
>
> If you run scjview -batch, you should find a file called scjview -batch
> in your current directory.

Oops, sorry. The file is called "scjview.sh". Look for that and make
the edits explained in the other post.


Ah-Hock Tan Posted on 2004-02-17 16:24:23.0Z
From: "Ah-Hock Tan" <ah_hock_tan@eli.net>
Newsgroups: ianywhere.public.general
References: <402a82dd$1@forums-2-dub> <402AD2D3.1080704@quiotix.com> <402c03e0$1@forums-1-dub> <402C8217.80301@quiotix.com> <402C824F.9000208@quiotix.com>
Subject: Re: libc.so.6 / VM problem
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Original-NNTP-Posting-Host: corp01.eli.net
Message-ID: <403242dd$1@forums-2-dub>
X-Original-Trace: 17 Feb 2004 08:35:41 -0800, corp01.eli.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Feb 2004 08:05:50 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Feb 2004 08:24:23 -0800
X-Trace: forums-1-dub 1077035063 10.22.108.75 (17 Feb 2004 08:24:23 -0800)
X-Original-Trace: 17 Feb 2004 08:24:23 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2531
Article PK: 5670

Hi Jeffrey,

Needed to get away for a few days and just returned to continue working on
this problem.

I reinstalled linux and ASAv8 and ran scjview and received a different error
(though I suppose the error is less threatening!).

Error message: The Java2 runtime environment could be found but not loaded.
Sybase Central could not be started.

Any idea how to solve this one?

TIA

Atan

"Jeffrey Siegal" <jbs@quiotix.com> wrote in message
news:402C824F.9000208@quiotix.com...
> Jeffrey Siegal wrote:
>
> > Ah-Hock Tan wrote:
> >
> >> Hi Jeffrey,
> >>
> >> Thank you for the pointer but I'm very new to linux (just started a
week
> >> ago). I ran scjview -batch but I wasn't able to find the file
{tool}.sh.
> >
> >
> > If you run scjview -batch, you should find a file called scjview -batch
> > in your current directory.
>
> Oops, sorry. The file is called "scjview.sh". Look for that and make
> the edits explained in the other post.
>


Jeffrey Siegal Posted on 2004-02-17 19:46:19.0Z
Message-ID: <40326B30.1040905@quiotix.com>
From: Jeffrey Siegal <jbs@quiotix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: libc.so.6 / VM problem
References: <402a82dd$1@forums-2-dub> <402AD2D3.1080704@quiotix.com> <402c03e0$1@forums-1-dub> <402C8217.80301@quiotix.com> <402C824F.9000208@quiotix.com> <403242dd$1@forums-2-dub>
In-Reply-To: <403242dd$1@forums-2-dub>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: adsl-63-198-99-82.dsl.snfc21.pacbell.net
X-Original-Trace: 17 Feb 2004 11:57:37 -0800, adsl-63-198-99-82.dsl.snfc21.pacbell.net
Lines: 53
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Feb 2004 11:27:45 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Feb 2004 11:46:19 -0800
X-Trace: forums-1-dub 1077047179 10.22.108.75 (17 Feb 2004 11:46:19 -0800)
X-Original-Trace: 17 Feb 2004 11:46:19 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:2535
Article PK: 5674

I haven't seen that one but I would try the same approach, starting with
installing a JRE that is compatible with your operating system.

Ah-Hock Tan wrote:

> Hi Jeffrey,
>
> Needed to get away for a few days and just returned to continue working on
> this problem.
>
> I reinstalled linux and ASAv8 and ran scjview and received a different error
> (though I suppose the error is less threatening!).
>
> Error message: The Java2 runtime environment could be found but not loaded.
> Sybase Central could not be started.
>
> Any idea how to solve this one?
>
> TIA
>
> Atan
>
>
>
> "Jeffrey Siegal" <jbs@quiotix.com> wrote in message
> news:402C824F.9000208@quiotix.com...
>
>>Jeffrey Siegal wrote:
>>
>>
>>>Ah-Hock Tan wrote:
>>>
>>>
>>>>Hi Jeffrey,
>>>>
>>>>Thank you for the pointer but I'm very new to linux (just started a
>
> week
>
>>>>ago). I ran scjview -batch but I wasn't able to find the file
>
> {tool}.sh.
>
>>>
>>>If you run scjview -batch, you should find a file called scjview -batch
>>>in your current directory.
>>
>>Oops, sorry. The file is called "scjview.sh". Look for that and make
>>the edits explained in the other post.
>>
>
>
>