Re: What does this error message mean (db-library)?
Michael Peppler <[email protected]> Sun, 5 Apr 2009 14:03:15 +0200
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-72-780273763 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 --Apple-Mail-72-780273763 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; ">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 = - = Peppler Consulting = SaRL</div><div>[email protected] - = <a = href=3D"http://www.peppler.org">http://www.peppler.org</a></div><div>Sybas= e DBA/Developer - = TeamSybase: <a = href=3D"http://www.teamsybase.com">http://www.teamsybase.com</a></div><div= >Sybase on Linux FAQ - = <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-72-780273763--