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: Sybperl problem
Date: Oct 7 1997 11:38PM

Mark Conover wrote:
> 
> Check out the sybperl faq on this.  But the
> short answer is that you need LD_LIBRARY_PATH set from
> within your perl code, in a BEGIN block.

I'm sorry to contradict you, but it is not possible to set 
LD_LIBRARY_PATH in a BEGIN block. It has to be set *before* the
script/program that needs it is started, so it must be set in
a wrapper, or be passed through the exec() call in the http
daemon when it forks the CGI script.

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