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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: cannot open shared object file
Date: Jun 2 2000 7:37PM

Dustin Tenney writes:
 > I am having some problems with sybperl in a CGI script.  It works fine
 > when I run it from a command prompt.  When it is run from a CGI script
 > though I get this error:
 > 
 > Can't load
 > '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/Sybase/DBlib/DBlib.so' for
 > module Sybase::DBlib: libsybdb.so: cannot open shared object file: No such
 > file or directory at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
 > 169.
 > 
 > 
 > I tried adding the sybase library path to /etc/ld.so.conf and still got
 > the same error.  I also tried putting a symbolic link into /usr/lib to
 > this library and then I got "permission denied".

Looks like a permission problem - have you checked the permissions on
the directory and file where libsybdb.so is located to make sure that
the user that runs the CGI script ('nobody'?) has read access to this
file? 

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com