OpenCSW question about package CSWpm-dbd-sybase-freetds

Dagobert Michelsen dam at opencsw.org
Mon Sep 15 15:03:52 CEST 2014


Hi Jeremy,

Am 15.09.2014 um 14:58 schrieb jérémy Blondel <jeremy.blondel.pro at gmail.com>:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140915/ab3fee18/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140915/ab3fee18/attachment.p7s>


More information about the users mailing list