Re: What does this error message mean (db-library)?

Michael Peppler <[email protected]> Sun, 5 Apr 2009 14:16:19 +0200
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
--Apple-Mail-75-781058142
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

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.

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/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).
>>
>> Thanks,
>>
>> Steve
>>
>
> Michael Peppler              -                    Peppler Consulting  
> SaRL
> [email protected]         -                     http://www.peppler.org
> Sybase DBA/Developer         -      TeamSybase: http://www.teamsybase.com
> Sybase on Linux FAQ          -      http://www.peppler.org/FAQ/linux.html
>
>
>

Michael Peppler              -                    Peppler Consulting  
SaRL
[email protected]         -                     http://www.peppler.org
Sybase DBA/Developer         -      TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ          -      http://www.peppler.org/FAQ/linux.html




--Apple-Mail-75-781058142
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">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.<div><br></div><div>Michael</div><div><br></div><div><br><div><di=
v>On Apr 5, 2009, at 2:03 PM, Michael Peppler wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Try using sudo -u =
-H<div><br></div><div>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...</div><div><br></div><div>Michael</div><div><br></div><div><br><di=
v><div>On Mar 31, 2009, at 10:02 PM, Wechsler, Steven wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"> <div> =
<!-- Converted from text/rtf format --><p><font size=3D"2" =
face=3D"Arial">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:</font></p><p><font size=3D"2" =
face=3D"Arial">/usr/bin/perl: relocation error: =
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Sybase/DBlib/D=
Blib.so: symbol dbopen, version FLSSL_1 not defined in file libsybdb.so =
with link time reference Return from switch_default_db.pl was =
32512</font></p><p><font size=3D"2" face=3D"Arial">I have never seen =
this particular error before, and neither has Google, apparently (except =
for one non-English article).</font></p><p><font size=3D"2" =
face=3D"Arial">Thanks,</font> </p><p><font size=3D"2" =
face=3D"Arial">Steve</font> </p> </div> </blockquote></div><br><div =
apple-content-edited=3D"true"> <span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div><div>Michael Peppler &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;Peppler Consulting SaRL</div><div><a =
href=3D"mailto:[email protected]">[email protected]</a> &nbsp; =
&nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; <a =
href=3D"http://www.peppler.org">http://www.peppler.org</a></div><div>Sybas=
e DBA/Developer &nbsp; &nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; =
&nbsp;TeamSybase: <a =
href=3D"http://www.teamsybase.com">http://www.teamsybase.com</a></div><div=
>Sybase on Linux FAQ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- &nbsp; &nbsp; =
&nbsp;<a =
href=3D"http://www.peppler.org/FAQ/linux.html">http://www.peppler.org/FAQ/=
linux.html</a></div><div><br></div></div></div></span><br =
class=3D"Apple-interchange-newline"> =
</div><br></div></div></blockquote></div><br><div =
apple-content-edited=3D"true"> <span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0; "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; "><div><div>Michael Peppler &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;Peppler Consulting =
SaRL</div><div>[email protected] &nbsp; &nbsp; &nbsp; &nbsp; - &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a =
href=3D"http://www.peppler.org">http://www.peppler.org</a></div><div>Sybas=
e DBA/Developer &nbsp; &nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; =
&nbsp;TeamSybase: <a =
href=3D"http://www.teamsybase.com">http://www.teamsybase.com</a></div><div=
>Sybase on Linux FAQ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- &nbsp; &nbsp; =
&nbsp;<a =
href=3D"http://www.peppler.org/FAQ/linux.html">http://www.peppler.org/FAQ/=
linux.html</a></div><div><br></div></div></div></span><br =
class=3D"Apple-interchange-newline"> </div><br></div></body></html>=

--Apple-Mail-75-781058142--