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?
> From: Michael Peppler [mailto:email@example.com]
> Sent: Sunday, April 05, 2009 8:16 AM
> To: Michael Peppler
> Cc: Wechsler, Steven; firstname.lastname@example.org
> Subject: Re: What does this error message mean (db-library)?
> Actually, now that I think about this - it may be that DBlib.so is
> linked with the kerberos library (libskrb.so, 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.
> 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...
>> 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/DBlib.so: symbol dbopen,
>>> version FLSSL_1 not defined in file libsybdb.so with link time
>>> reference Return from switch_default_db.pl was 32512
>>> I have never seen this particular error before, and neither has
>>> Google, apparently (except for one non-English article).
Michael Peppler - Peppler Consulting
email@example.com - http://www.peppler.org
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ - http://www.peppler.org/FAQ/linux.html