Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Weird error on NT
Date: Feb 23 2000 8:47PM

Wechsler, Steven M writes:
 > Your sybase home directory is p:/modules/support/sybase. Check the
 > environment variable SYBASE if it is not the one you want!
 > Cannot access file p:/modules/support/sybase\ini\objectid.dat
 > Can't initialize dblibrary... at C:/Perl/lib/ line 188.
 > BEGIN failed--compilation aborted at F:\sqldb\bin\/ line 3.
 > I have no idea where it came up with 'p:/modules/support/sybase'; there's no

Mea Culpa.

The 2.11 distribution has a feature turned on by default that should
normally be turned off. It creates a BEGIN block in (and which sets $ENV{SYBASE} to the location of the Sybase
directories at build time. This is useful in certain cases, but of
course not such a good idea when the builds are subsequently
distributed to different machines that don't have the same

2.12 will make this work a little better.

In the meantime, edit and/or in the C:/Perl/lib tree 
and remove the env. setting.

Michael Peppler         -||-  Data Migrations Inc.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: