Re: OpenCSW question about package CSWpm-dbd-sybase-freetds
Dagobert Michelsen <dam@...
2014-09-12 12:27:21 GMT
Am 12.09.2014 um 14:17 schrieb jérémy Blondel <jeremy.blondel.pro@...>:
> I have installed packages :
> I have edited the freetds.conf into /etc/opt/csw and I can now connect via command lines to SQL server DB.
> However, I have now to edit my perl script by including DBD:Sybase perl module, but the Sybase.pm is not
included into the package pm_dbd_sybase_freetds-1.11,
> Could you please advice on this point and maybe about install procedure for this part ?
> Thank you very much for your support.
Did you use pkgutil for installation? You are still lacking CSWalternatives
and probably other things. Please read the sections in the manual and
follow these procedure and don’t manually install packages or things
won’t work. There are two packages for DBD::Sybase, either linked against
FreeTDS or Sybase OCS and the symlinks are done via alternatives.
It must look similar to this:
/opt/csw/share/man/man3/DBD::Sybase.3 f none 0444 root bin 74333 47533 1290531466
CSWpm-dbd-sybase-freetdsunstable9s% ls -l /opt/csw/lib/perl/site_perl/auto/DBD/Sybase
r--r-- r-- 1 root bin 0 Nov 23 2010 Sybase-freetds.bs
-r-xr-xr-x 1 root bin 145320 Nov 23 2010 Sybase-freetds.so
- r--r-- r-- 1 root bin 0 Nov 23 2010 Sybase-ocs.bs
-r-xr-xr-x 1 root bin 252928 Nov 23 2010 Sybase-ocs.so
lrwxrwxrwx 1 root other 57 Dec 11 2012 Sybase.bs -> /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-ocs.bs
lrwxrwxrwx 1 root other 57 Dec 11 2012 Sybase.so -> /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-ocs.so
Please don’t make these links manually or things break next time!!
BTW, if you use OCS instead of FreeTDS you must install or link it to
or set LD_LIBRARY_PATH.
> Best regards
> 2014-09-12 12:48 GMT+02:00 Dagobert Michelsen <dam@...>:
> Hi Jeremy,
> Am 12.09.2014 um 10:36 schrieb jérémy Blondel <jeremy.blondel.pro@...>:
>> Thanks for your quick answer !
>> I now understand the issue I have.
>> In this case, if I understand well, I am going to pkgrm all packages freetds and their dependencies listed
in my previous mail and then install same packages from same source (OpenCSW) from here http://www.opencsw.org/packages/
>> Could you please indicate me related packages I need from OpenCSW ?
> Just start here:
> As you don’t have direct internet access just set up a local mirror:
> Please make sure to read the admin guide
> 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
"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