Re: Sybase home directory question

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
On Sat, 2004-11-20 at 02:20, Christian Behrens wrote:
> Hi all,
> 
> I have just successfully built Perl 5.8.5 and SybPerl 2.17_3 on Solaris 2.8,
> with the following value for $SYBASE embedded into SybPerl:
> /usr/global/opt/sybase
> 
> This is a link to /usr/global/opt/sybase1252, which is ASE 12.5.2 and comes
> with Connectivity 12.5.1.
> 
> However, without having $SYBASE or $SYBASE_OCS set, when I run a little test
> script it gives me this:
> 
> Your sybase home directory is /usr/global/opt/sybase/OCS-12_5. Check the
> environment variable SYBASE if it is not the one you want!
> Cannot access file /usr/global/opt/sybase/OCS-12_5/config/objectid.dat
> 
> Why is it looking in OCS-12_5? Where does that come from?

For some reason it thinks that $ENV{SYBASE} includes the OCS bit.

What does the appropriate lines in CTlib.pm say?
And are you *positive* that $SYBASE isn't set in the shell?

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
[email protected]                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.peppler.org/resume.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.