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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Wrapper for scripts
Date: Oct 16 1997 4:07PM

Sandesh Tattitali wrote:
> 
> I am on Solaris 2.5.1 . It would be better I guess to install sybperl and perl so that they don't need the LD_LIBRARY_PATH rather than writing wrapper scripts all over the place. Can U show me how ??
> 

Normally you don't have to do anything at all.

Do you install the perl binaries on the same machine where you
build them? Is the location of the SYbase libraries different?

Michael


> Thanks and regards
> Sandesh
> 
> ----------
> From:  Michael Peppler[SMTP:mpeppler@mbay.net]
> Sent:  Wednesday, October 15, 1997 6:19 PM
> To:  SYBPERL-L@trln.lib.unc.edu
> Subject:  Re: Wrapper for scripts
> 
> Sandesh Tattitali wrote:
> >
> > Hi everybody,
> >         I am quite new to Sybperl and I apologize if I am repeating an oft discussed topic.
> > I am using Sybperl to write a CGI script to return some data from my database. I read in the Sybperl FAQ that it wasn't possible to set the environment from within the script and that I would need to have a 'wrapper' script to set the environment (most notably LD_LIBRARY_PATH). So am I to infer that all CGI scripts called from my HTML page would need to be either Bourne or C or Korn shell scripts that would set the environment and then invoke the appropriate Sybperl script ??
> >
> 
> Yes you are correct.
> 
> However - what environment are you on? What OS/hardware platform?
> 
> It is usually possible to install perl & sybperl in such a fashion that
> LD_LIBRARY_PATH is not required, and this would speed up your CGI
> scripts
> quite a bit!
> 
> Michael
> --
> Michael Peppler       -||-  Data Migrations Inc.
> mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler

-- 
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler