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: eedtok at eed dot ericsson dot se (Thomas Klein)
Subject: LD_LIBRARY_PATH on Solaris
Date: Aug 17 1998 2:51PM

Hi,

i've some Problems with the LD_LIBRARY_PATH on Solaris.
Sybperl works if i completely unset the LD_LIBRARY_PATH
or place /usr/lib after $SYBASE/lib as described in the FAQ.

BUT then i will need a shell-wrapper for every sybperl-script.

I tried it inside of perl with:

BEGIN {
    # Mandatory settings for the Sybase CTLib package
    # This instructions have to be executed before the
    # package CTLib is loaded!
        $ENV{'LD_LIBRARY_PATH'}="/opt/local/sybase/lib:".$ENV{LD_LIBRARY_PATH};
        $ENV{'SYBASE'}="/opt/local/sybase";
}
but with no success?!?

Any ideas what to try next?

/Thomas


--
Thomas Klein                        Network Administrator, EED/I
Ericsson Eurolab Deutschland GmbH   Email: eedtok@eed.ericsson.se
Ericsson Allee 1                    Phone: +49 2407 575 425
D-52134 Herzogenrath                Fax  : +49 2407 575 150
Germany                             Memo : EED.EEDTOK