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 peppler dot org>
Subject: Re: library path information
Date: Aug 9 1999 3:47AM

John_Erjavec@cargill.com writes:
 >      All-
 >      
 >      I have a question for all of you.  We have Sybperl on all of our 
 >      production sites, and it was compiled against a Sybase in 
 >      /opt/sybase11.  We moved $SYBASE to a different location in an 
 >      upgrade, and will be doing so to all our other servers.  When we 
 >      tried to run a Sybperl script, it died because the library .sl files 
 >      were looking for stuff in /opt/sybase11/... and the new paths were 
 >      different.  Temporarily, we put a symlink in to do the redirection 
 >      for us, but I don't like that solution long term.  We could 
 >      recompile, but we have a number of remotes, and would rather not do 
 >      that if possible.  Is there any way to tell the .sl file to look in 
 >      another location on an HP-UX machine?  Thanks for any information.

On a normal Unix system you would set the LD_LIBRARY_PATH variable. I
think that on HP-UX this is SHLIB_PATH (or something similar).

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com