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.

Sybase ASE 21.5.4 and Perl

3 posts in General Discussion Last posting was on 2012-01-17 18:27:28.0Z
Ericrad Posted on 2012-01-16 20:29:20.0Z
Sender: 5660.4f14887c.1804289383@sybase.com
From: Ericrad
Newsgroups: sybase.public.ase.general
Subject: Sybase ASE 21.5.4 and Perl
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4f1488a0.5667.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 16 Jan 2012 12:29:20 -0800
X-Trace: forums-1-dub 1326745760 172.20.134.41 (16 Jan 2012 12:29:20 -0800)
X-Original-Trace: 16 Jan 2012 12:29:20 -0800, 172.20.134.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30831
Article PK: 73721

Hi,

Can someone please point me to the process to get the Perl
libraries for Sybase ASE 12.5 running on Solaris?

I found the download on CPAN, but that seems like a lot of
work ;-)

Is there any cookbook or other process out there to help me?

Thanks
eric


Rob V Posted on 2012-01-17 09:26:51.0Z
From: Rob V <rob@sypron.nl>
Reply-To: rob@sypron.nl
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
Newsgroups: sybase.public.ase.general
Subject: Re: Sybase ASE 21.5.4 and Perl
References: <4f1488a0.5667.1681692777@sybase.com>
In-Reply-To: <4f1488a0.5667.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4f153edb@forums-1-dub>
Date: 17 Jan 2012 01:26:51 -0800
X-Trace: forums-1-dub 1326792411 10.22.241.152 (17 Jan 2012 01:26:51 -0800)
X-Original-Trace: 17 Jan 2012 01:26:51 -0800, vip152.sybase.com
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30834
Article PK: 73724


On 16-Jan-2012 21:29, Ericrad wrote:
> Hi,
>
> Can someone please point me to the process to get the Perl
> libraries for Sybase ASE 12.5 running on Solaris?
>
> I found the download on CPAN, but that seems like a lot of
> work ;-)
>
> Is there any cookbook or other process out there to help me?
>
> Thanks
> eric

Currently, DBD::Sybase is the most complete Perl driver out there.
See www.peppler.org for more info.

--
HTH,

Rob V.
-----------------------------------------------------------------
Rob Verschoor

Certified Professional DBA for Sybase ASE, IQ, Replication Server

Author of Sybase books (order online at www.sypron.nl/shop):
"Tips, Tricks & Recipes for Sybase ASE"
"The Complete Sybase IQ Quick Reference Guide" (new!)
"The Complete Sybase ASE Quick Reference Guide"
"The Complete Sybase Replication Server Quick Reference Guide"

rob@NO.SPAM.sypron.nl | www.sypron.nl | Twitter: @rob_verschoor
Sypron B.V., The Netherlands | Chamber of Commerce 27138666
-----------------------------------------------------------------


Michael Peppler [Team Sybase] Posted on 2012-01-17 18:27:28.0Z
From: "Michael Peppler [Team Sybase]" <mpeppler@peppler.org>
Organization: Peppler Consulting SARL
Subject: Re: Sybase ASE 21.5.4 and Perl
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
Message-ID: <pan.2012.01.17.18.27.25.940633@peppler.org>
Newsgroups: sybase.public.ase.general
References: <4f1488a0.5667.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 17 Jan 2012 10:27:28 -0800
X-Trace: forums-1-dub 1326824848 10.22.241.152 (17 Jan 2012 10:27:28 -0800)
X-Original-Trace: 17 Jan 2012 10:27:28 -0800, vip152.sybase.com
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:30836
Article PK: 73726


On Mon, 16 Jan 2012 12:29:20 -0800, Ericrad wrote:

> Hi,
>
> Can someone please point me to the process to get the Perl
> libraries for Sybase ASE 12.5 running on Solaris?
>
> I found the download on CPAN, but that seems like a lot of
> work ;-)

To add to what Rob said - there are no binaries for DBD::Sybase or the
Sybase::* libraries for Solaris.

However, building the package(s) is usually pretty straightforward,
provided that you've made some basic checks beforehand.

The first check is to make sure that your perl binary has the same
bit-size as your Sybase OpenClient libs. Specifically, if your perl binary
is a 32 bit executable (check with "file `which perl`") then you must also
have 32 bit Sybase libs (the 32 bit libs are named libct.so, the 64bit
libs are named libct64.so, for example).

If you are OK on the bit size front, then you need to have a compiler
available - gcc should be available from sunfreeware.com.

Then it should be pretty easy to build the binaries - usually it's just
unpack the tar.gz file
cd into the directory
perl Makefile.PL
make
make test
if all is well - make install

Michael