Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: What does this error message mean (db-library)?
Date: Apr 6 2009 5:35PM

The only thing that I can think of is that these logins have different  
rights, possibly due to SElinux settings.


On Apr 6, 2009, at 3:51 PM, Wechsler, Steven wrote:

> For what it's worth:
> We ended up rewriting it in DBI, which works fine.
> However, in testing, I noted that DBLibrary scripts have the same  
> problem with certain linux logins, even without using Sudo, and even  
> if I set all environment variables the same for the non-working  
> logins as the working logins have.
> Any ideas?
> Steve
> From: Michael Peppler []
> Sent: Sunday, April 05, 2009 8:16 AM
> To: Michael Peppler
> Cc: Wechsler, Steven;
> Subject: Re: What does this error message mean (db-library)?
> Actually, now that I think about this - it may be that is  
> linked with the kerberos library (, or something like  
> that) in the Sybase libs. Some versions of sybperl always included  
> this file in the link line, but it's only needed for the Ctlib side,  
> and even there it should normally get loaded dynamically at run-time.
> Michael
> On Apr 5, 2009, at 2:03 PM, Michael Peppler wrote:
>> Try using sudo -u -H
>> I'm guessing you're getting a different version of glibc under the  
>> sudo environment for some reason, or maybe there is something like  
>> SElinux that is playing games...
>> Michael
>> On Mar 31, 2009, at 10:02 PM, Wechsler, Steven wrote:
>>> This script runs fine when I run it as my own ID or as the Sybase  
>>> user, but when I run it as a different user, using sudo -u sybase,  
>>> I get this error:
>>> /usr/bin/perl: relocation error: /usr/lib/perl5/site_perl/5.8.5/ 
>>> i386-linux-thread-multi/auto/Sybase/DBlib/ symbol dbopen,  
>>> version FLSSL_1 not defined in file with link time  
>>> reference Return from was 32512
>>> I have never seen this particular error before, and neither has  
>>> Google, apparently (except for one non-English article).
>>> Thanks,
>>> Steve

Michael Peppler              -                    Peppler Consulting  
SaRL         -           
Sybase DBA/Developer         -      TeamSybase:
Sybase on Linux FAQ          -