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: kim at algorithmics dot com (T dot Kim Nguyen)
Subject: Re: Sybperl::DBlib CGI Problems
Date: Feb 27 1996 1:11AM

Perhaps your SYBASE environment variable is not being set
correctly.  That's what I find the problem is when I encounter
the same error message.  It can't find /home/sybase/interfaces
(if SYBASE = "/home/sybase" as it is here).

	Kim

> From @algorithmics.com:owner-sybperl-l@trln.lib.unc.edu Mon Feb 26 20:07:36 1996
> X-Listname: SybPerl Discussion List 
> Warnings-To: <>
> Sender: owner-sybperl-l@trln.lib.unc.edu
> From: Robert Seymour 
> Date: Mon, 26 Feb 1996 17:30:40 -0500
> To: SYBPERL-L@trln.lib.unc.edu
> Subject: Sybperl::DBlib CGI Problems
> Reply-To: SYBPERL-L@trln.lib.unc.edu
> 
> I'm trying to use Sybase::DBlib to create CGI scripts for  
> displaying the contents of a Sybase 4.9 database.  My script works  
> just fine from the command line, but when I try to run it as a CGI  
> program I get the error:
> 
> 	Operating-system error: No such file or directory DB-Library:
> 	Could not open interface file.
> 
> Reading the FAQ provided with sybperl-2.03 (I'm using it with Perl  
> 5.002b3), it seems I need to get the LD_LIBRARY_PATH set for the  
> CGI's login.  I tried doing this with a wrapper script which sets  
> the LD_LIBRARY_PATH to include libsybdb-4.9.1.a (libsybdb.a), but I  
> get a core dump when this is done:
> 
> 	dlopen: stub interception failed
> 	zsh: 16516 abort (core dumped)  wire.cgi
> 
> I tried the wrapper script as both a /bin/sh script and as a perl  
> script and ensured that the variable was exported (and the SYBASE  
> and DSQUERY were also set).
> 
> Perhaps someone can suggest an ingredient I am missing, as I seem  
> to have run out of FAQ or documentation explanations ...
> 
> Thanks in advance, Robert Seymour
> 
> --
> Robert Seymour                       Swiss Bank Corporation
> Business:      (SBCNet)
> Personal      
> 
> Statements herein may not reflect the policies of my employer (Swiss Bank).
>