PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Matthew dot Persico at Lazard dot com
Subject: Re: building sybperl on 12.0 but deploying on 12.5 too.
Date: Dec 3 2002 2:16PM


>On Solaris scripts that run under cron usually get a very minimal
>environment. I don't know if recent versions of Solaris allow you to
>specify env. values in the crontab entry - that would be needed if you
>needed to specify/set LD_LIBRARY_PATH to run a script.

Wrap the command in a shell script. Set LD_LIBRARY_PATH in the script before the
real command. Put the script in the crontab entry.

>Now if you can't have this setup, then there are of course two issues.

>The first is finding the root of the Sybase installation tree. This can
>be done in a BEGIN{} block in CTlib.pm. Theoretically using EMBED_SYBASE
>and EMBED_SYBASE_USE_HOME *should* work - it should put something like
>this in CTlib.pm:

Again, I suggest building shell scripts to do the env setup before calling the
Perl scripts.

---------------------------------------------------------------------------
Matthew Persico
Vice President
Lazard
30 Rockefeller Plaza
New York, NY 10020, USA
Phone Number: 212.632.8255
Fax Number: 212.332.5904
Email: matthew.persico@lazard.com
---------------------------------------------------------------------------