Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to find out Syabse CT-lib version

0 views
Skip to first unread message

saty...@exact-solutions.com

unread,
Dec 6, 2004, 3:20:27 PM12/6/04
to
Hi,
How do i find out the version of the ct-lib being used.
A quick response would be appreciated.

Regards
Satya

saty...@exact-solutions.com

unread,
Dec 6, 2004, 3:21:37 PM12/6/04
to

Neil Davies

unread,
Dec 6, 2004, 3:26:18 PM12/6/04
to
On a unix platform you can run strings against one of the shared libs and
grep for Sybase

ie
strings libtcl_r.so| grep Sybase

You will get back the copyright and version string amongst other things.
Shared libs are found in $SYBASE/$SYBASE_OCS/lib

N.


<saty...@exact-solutions.com> wrote in message
news:1102364427.3...@c13g2000cwb.googlegroups.com...

saty...@exact-solutions.com

unread,
Dec 6, 2004, 4:03:10 PM12/6/04
to

love...@yahoo.com

unread,
Dec 7, 2004, 9:16:02 AM12/7/04
to
Hi Satyashil,

Try

strings $SYBASE/lib/libct.a | grep -i Sybase


Sids

love...@yahoo.com

unread,
Dec 7, 2004, 9:15:24 AM12/7/04
to

Michael Peppler

unread,
Dec 7, 2004, 1:33:10 PM12/7/04
to
On Mon, 06 Dec 2004 12:20:27 -0800, satyashil wrote:

> Hi,
> How do i find out the version of the ct-lib being used.
> A quick response would be appreciated.

To add to the other posts - you can get the version string from within a
CT-lib application like this:

ct_config(context, CS_GET, CS_VER_STRING,
(CS_VOID*)buffer, 1024, &outlen);

Michael
--
Michael Peppler - mpep...@peppler.org - http://www.peppler.org/
Sybase DBA/Developer
Available for contract work - http://www.peppler.org/resume.html

saty...@exact-solutions.com

unread,
Dec 7, 2004, 4:07:07 PM12/7/04
to
Thanks Michael

saty...@exact-solutions.com

unread,
Dec 7, 2004, 4:07:19 PM12/7/04
to
Thanks Michael

saty...@exact-solutions.com

unread,
Dec 7, 2004, 4:08:12 PM12/7/04
to
Thanks Neil........

0 new messages