Hi Jeremy,

Am 15.09.2014 um 14:58 schrieb jérémy Blondel <[email protected]>:
> I come back to you as update on this subject is the following :
> 
> In the meanwhile of my previous mail, I have adapted my script :
> [...]
> use lib "/opt/csw/lib/perl/site_perl" # To take into account the Sybase.pm
> # use DBD::Sybase; # Line 8
> [...]
> my $dbh = DBI->connect("dbi:Sybase:server=xxx", $mssqluser, $mssqlpassword, 
> {PrintError => 0});
>         die($DBI::errstr) unless $dbh;
> 
> [...]
> 
> When I launch the perl script, I have the following :
> ...
> DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge, Sybase # << issued from my 
> @drivers = DBI->available_drivers;
> 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.
>  at /export/home/provisio/adapter/lib/PAR/Heavy.pm line 87
> Compilation failed in require at (eval 40) line 3.
> Perhaps a required shared library or dll isn't installed where expected
>  at ./xxxyyy.pl line 128
> 
> bash-2.05$
> 
> I think there is an environnent variables to adjust but I am not sure 
> according what I saw on internet from different forums.
> 
> Could you please help me ?


You cannot mix binary modules with arbitrary Perls. You must use OpenCSW Perl 
or you will get
in trouble sooner or later.


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to