|
|
sybperl-l Archive
Up Prev Next
From: John R Sharp <jsharp at ti dot com>
Subject: DynaLoader problem
Date: Dec 3 1998 6:01PM
I need to run DBD::Sybase without having LD_LIBRARY_PATH set in
the environment.
Is this possible ?
I've tried various suggestions such as adding LD_RUN_PATH =
/MySybase/lib
to the Makefile, (it was there already) but I still get the same errors
when running my script.
driver >Sybase<
install_driver(Sybase) failed: Can't load
'/apex/pub/release/perl5/lib/site_perl/5.005/sun4-solaris/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: ld.so.1: /apex/pub/release/perl5/bin/perl:
fatal: relocation error: symbol not found: comn_malloc: referenced in
/apex/sybase.client/sun5/lib/libtcl.so at
/apex/pub/release/perl5/lib/5.00502/sun4-solaris/DynaLoader.pm line 168.
at (eval 1) line 2
at /home/jsharp/open/ex.pl line 158
The tests and installation appear to work fine, and so do my scripts
(if I have LD_LIBRARY_PATH set to my Sybase libs). Also I build
everything using SUNWspro compiler and/usr/ccs/bin/ld and
/usr/ccs/bin/ar
Perl5.005_02 / DBI-1.02 / DBD-Sybase-0.13
Thanks and Regards,
John.
--
Texas Instruments Inc Email:jsharp@ti.com Product Development
PO BOX 660199 Voice:+1 972 480 4253 (CST) Office:FORE/A-1043
Dallas, TX 75266-0199 FAX :+1 972 480 4146 MS:8645 MSG:JARS
|