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: Brazier Stephen F Civ 27 IS/SCOS <stephen dot brazier at langley dot af dot mil>
Subject: Fatal Use Sybase::DBLib
Date: Jun 8 1999 12:56PM

Hello,

I have been wrestling with this error to no avail:

"Can't load
'/opt/perl5/lib/site_perl/5.00551/sun4-solaris/auto/Sybase/DBlib/DBlib.so'
for module Sybase::DBlib:  ld.so.1: /opt/perl5/bin/perl: fatal: libsybdb.so:
can't open file: errno=2 at
/opt/perl5/lib/5.00551/sun4-solaris/DynaLoader.pm line 168.     

ENV values (for reference)

SERVER_SOFTWARE: NCSA/1.4.2
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT_LANGUAGE: en
HTTP_ACCEPT_ENCODING: gzip
SERVER_PROTOCOL: HTTP/1.0
HTTP_ACCEPT_CHARSET: is0-8859-1,#,utf-8
REQUEST_METHOD: GET
SERVER_PORT: 80
HTTP_USER_AGENT: Mozilla/4.5[en](X11;U;SunOS 5.6 sun4m)
PATH: /usr/sbin:/usr/bin
HTTP_CONNECTION: Keep-Alive    

perl -v   'This is perl, version 5.005_51 built for sun4-solaris'

perl -V  '   ...  Linker and Libraries:
  		ld='gcc', ldflags =' -L/usr/local/lib'
		libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
		libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
		libc=/lib/libc.so, so=so, useshrplib=false,
libperl=libperl.a

	...  and more...  (I have to retype this because the error is on an
internal LAN)

This seems to be a path issue.  When I set the
LD_LIBRARY_PATH=/opt/sybase/lib at the command line the script runs at the
command line, but  it dies when called by the browser
(Netscape 4.x)     Netscape runs as Nobody.  I have tried to set the ENV var
at the top of the script but Perl seems to want all of its paths resolved
prior to seeing the script...  

Many thanks for all of your thoughts and time,

Steve Brazier
stephen.brazier@langley.af.mil



begin 600 winmail.dat
M>)\^(@T,`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.````SP<&``@`
M"``X``D``@`O`0$@@`,`#@```,\'!@`(``@`.``+``(`,0$!"8`!`"$```!&
M,S8X03=!,3DU,41$,S$Q035&,3`P,C`T.#`T14(T-0#\!@$$@`$`&````$9A
M=&%L(%5S92!3>6)A`""`&``````#`````````1@`````1A0````````,`
M"8`((`8``````,````````!&`````!B%````````'@`*@`@@!@``````P```
M`````$8`````-H4```$````!`````````!X`"X`((`8``````,````````!&
M`````#>%```!`````0`````````>``R`""`&``````#`````````1@`````X
MA0```0````$`````````"P`-@`L@!@``````P````````$8``````(@`````
M```+``Z`"R`&``````#`````````1@`````%B`````````(!"1`!````'`4`
M`!@%``!,!P``3%I&=24*`=L#``H``!4`9C1L?'")$,'EN84P9,020+G`&;2(1$P`@,38X+H(@EP9@20"?`(8V4I%!I315)6`2O@7U-/1E17001211^@3D-3
M02\P,2XT+@Y0%"-'081412R`65])3BX`$%)&04,LL4-'20`%0%.@`(!#\2\?T%1R)[!3
MH&-5$G)Y\P4P4F]B8T_`&C)6PAW1.T4P&^`]5[(_H`>0:'+;"U`:0#TAL%.P
M94R13W'E&>$]684N810:2\-)8^]*(@1@"7!)8R@4U1LGT%H&T#@1E0)]->L@3U5ZC2H!O=Q$P!<`H-0?`=`3P
M85VQ+5!X*2\H8VV7:%0'H6\&X&1Y_RA17-8(@1E0%S%CYBET2@%K9`07,'`C
M0&9GFFGR4/M#TF''=P!P!4!L,7+R%D!_1-%BL00@%:$&\!40&5!P?P40%P1A
MP17R9ZA)8Q0:37<`<&RB`'!K!"`>(G55>6<(819Q"&!G:'712B)TVP=Q%`M3
M&I`5$4)*D#,PWP20%!05P$)`8X$N2H%]T@Y`#P(>H'`0868N;2\#$%J;%",1
M\0"!L!X`<``!````&````$9A=&%L(%5S92!3>6)A