Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Sybperl and RH 5.2 problems aplenty...
Date: Mar 4 1999 3:34PM
Bill Dossett writes:
> I'm off skiing for 10 days tomorrow and none too soon
> as I'm reaching the depths of despair.
That's normal - no normal SA gets to go on vacation ;-)
> I used to use Slackware 3.2 release with Perl and Sybperl.
> It worked great, I built systems with it and they worked
> well. Then some bugger hacked my Slackware system, not
> very hard to do as it was full of holes, so I installed
> RedHat 5.2. That fixed the hacker however I now can't get
> perl/sybperl to work and all my wonderful systems can't
> be used.
OK - first, grab the Sybase ASE-220.127.116.11 distribution from
www.redhat.com (or from CD3 of your redhat distribution). This
includes the 18.104.22.168 version of the Sybase SQL Server, and updated
versions of the OpenClient libraries (inclusive of DB-Library).
If you don't want to use Sybase::DBlib, skip to the "building sybperl"
Grab the latest perl sources from www.perl.com. Unpack, and build
./Configure -ders -Dlibs="-lnsl -lgdbm -ldl -lm -lc -lposix -lcrypt"
The reason this is necessary is that perl by default links with -ldb
and -lndbm, and this causes a conflict with Sybase's DB-Library.
Start with a fresh copy of the 2.10 distribution.
Set DBLIBVS=0 *if* you've not installed a fresh copy of perl
Edit PWD and set it so that you can connect to your server.
You should now have a working sybperl. So make install and you should
be all done.
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com