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: Andrei Nossov <anossov at yahoo dot com>
Subject: Re: Invocation Problem
Date: Mar 20 2000 6:17PM

You might want to see what dynamic libraries the
DBlib.sl depends on:

$ chatr DBlib.sl



--- John_McCarthy@WellspringRes.com wrote:
> At line 34, my perl script contains:
> use Sybase::Sybperl;
> 
> When run, this script produces these messages:
> Can't load
>
'/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/auto/Sybase/DBlib/DBli
> b.sl' for module Sybase::DBlib: No such file or
> directory at
>
/usr/local/apps/perl5/lib/5.00503/PA-RISC2.0/DynaLoader.pm
> line 169.
> 
>  at
>
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/Sybase/Sybperl.pm
> line 79
> BEGIN failed--compilation aborted at
>
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/Sybase/Sybperl.pm
> line
> 79.
> BEGIN failed--compilation aborted at
> /usr/local/dbsystems/sybadm/bin/server.stats line
> 34.
> 
> However, a "find" of DBlib shows the following:
> drwxr-xr-x   2 root       sys             96 Mar 16
> 16:24
>
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/auto/Sybase/DBlib
> -r-xr-xr-x   1 root       sys         200704 Mar 16
> 16:24
>
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/auto/Sybase/DBlib/DBlib
> .sl
> -r--r--r--   1 root       sys              0 Mar 16
> 16:24
>
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/auto/Sybase/DBlib/DBlib
> .bs
> -r--r--r--   1 root       sys          13138 Mar 13
> 16:36
>
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/Sybase/DBlib.pm
> -r--r--r--   1 root       sys          67882 Sep 21 
> 1999
>
/usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0/Sybase/DBlib.pod
> 
> perl -V output follows:
> Summary of my perl5 (5.0 patchlevel 5 subversion 3)
> configuration:
>   Platform:
>     osname=hpux, osvers=11.00, archname=PA-RISC2.0
>     uname='hp-ux nile b.11.00 u 9000800 643369333
> unlimited-user license '
>     hint=recommended, useposix=true,
> d_sigaction=define
>     usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
>     cc='cc', optimize='-O', gccversion=
>     cppflags='-D_HPUX_SOURCE -Aa
> -I/usr/local/include'
>     ccflags ='-D_HPUX_SOURCE -Aa
> -I/usr/local/include'
>     stdchar='unsigned char', d_stdstdio=define,
> usevfork=false
>     intsize=4, longsize=4, ptrsize=4, doublesize=8
>     d_longlong=undef, longlongsize=,
> d_longdbl=define, longdblsize=16
>     alignbytes=8, usemymalloc=y, prototype=define
>   Linker and Libraries:
>     ld='ld', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib
> /usr/ccs/lib
>     libs=-lnsl -lnm -lndbm -ldld -lm -lc -lndir
> -lcrypt
>     libc=/lib/libc.sl, so=sl, useshrplib=false,
> libperl=libperl.a
>   Dynamic Linking:
>     dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef,
> ccdlflags='-Wl,-E
> -Wl,-B,deferred '
>     cccdlflags='+z', lddlflags='-b -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl): 
>   Built under hpux
>   Compiled at Mar 13 2000 15:44:37
>   %ENV:
>     PERL="/usr/local/apps/perl5"
>   @INC:
>     /usr/local/apps/perl5/lib/5.00503/PA-RISC2.0
>     /usr/local/apps/perl5/lib/5.00503
>    
> /usr/local/apps/perl5/lib/site_perl/5.005/PA-RISC2.0
>     /usr/local/apps/perl5/lib/site_perl/5.005
>     .
> Would much appreciate any clues on how to fix this.
> Jack
> 
> 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com