Up Prev Next
From: "Wechsler, Steven" <Steven dot Wechsler at mtvstaff dot com>
Subject: RE: What does this error message mean (db-library)?
Date: Apr 6 2009 1:51PM
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.
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:
/DBlib.so: symbol dbopen, version FLSSL_1 not defined in file
libsybdb.so with link time reference Return from switch_default_db.pl
I have never seen this particular error before, and
neither has Google, apparently (except for one non-English article).