Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
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 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 Peppler         -||-  Data Migrations Inc.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: