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: mpeppler at itf dot ch (Michael Peppler)
Subject: Re: Static linking
Date: Feb 23 1996 6:43AM

> From: "T. Kim Nguyen" 
> 
> When I encounter a problem locating Sybase .so's, it's usually solved
> by adding the appropriate directory to the LD_LIBRARY_PATH environment
> variable (I'm assuming this is for SunOS / Solaris).  Eg., for csh, 
> 
> 	setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/home/sybase/lib
> 
> equivalently, if you've got the SYBASE env var set:
> 
> 	setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$SYBASE/lib
> 
> unless you want to have absolutely everything linked into the same
> executable (ugh!), in which case you should do what Michael
> suggested...

This is sometimes usefull, for example if you want to distribute the
perl binary with the DBlib or CTlib extensions: you can't distribute
the shared libs with your application, but you *can* distribute the
statically linked program freely.

Michael