<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Jeremy,<div><br><div><div>Am 15.09.2014 um 14:58 schrieb jérémy Blondel <<a href="mailto:jeremy.blondel.pro@gmail.com">jeremy.blondel.pro@gmail.com</a>>:</div><blockquote type="cite"><div dir="ltr"><div><div><div>I come back to you as update on this subject is the following :<br><br>In the meanwhile of my previous mail, I have adapted my script :<br>[...]<br>use lib "/opt/csw/lib/perl/site_perl" # To take into account the Sybase.pm<div dir="ltr"># use DBD::Sybase; # Line 8<br><div>[...]</div></div>my $dbh = DBI->connect("dbi:Sybase:server=xxx", $mssqluser, $mssqlpassword, {PrintError => 0});<br> die($DBI::errstr) unless $dbh;<br><br>[...]<br><br>When I launch the perl script, I have the following :<br>...<br>DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge, Sybase # << issued from my @drivers = DBI->available_drivers;<br>ERROR: install_driver(Sybase) failed: Can't load '/opt/csw/lib/perl/site_perl//auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: ld.so.1: perl-static: fatal: libct.so.4: open failed: No such file or directory at /opt/ActivePerl-5.8/lib/DynaLoader.pm line 229.<br> at /export/home/provisio/adapter/lib/PAR/Heavy.pm line 87<br>Compilation failed in require at (eval 40) line 3.<br>Perhaps a required shared library or dll isn't installed where expected<br> at ./<a href="http://xxxyyy.pl/">xxxyyy.pl</a> line 128<br><br>bash-2.05$<br><br></div>I think there is an environnent variables to adjust but I am not sure according what I saw on internet from different forums.<br><br></div>Could you please help me ?<br></div></div></blockquote></div><div><br></div><div>You cannot mix binary modules with arbitrary Perls. You must use OpenCSW Perl or you will get</div><div>in trouble sooner or later.</div><div><br></div><div><br></div><div>Best regards</div><div><br></div><div> — Dago</div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span style="font-family: monospace; ">-- </span><br style="font-family: monospace; "><span style="font-family: monospace; ">"You don't become great by trying to be great, you become great by wanting to do something,</span><br style="font-family: monospace; "><span style="font-family: monospace; ">and then doing it so hard that you become great in the process." - xkcd #896</span></div>
</div>
<br></div></body></html>