[csw-users] DBD::Sybase perl module
Dagobert Michelsen
dam at opencsw.org
Tue Dec 11 09:46:16 CET 2012
Hi Chirag,
Am 10.12.2012 um 22:06 schrieb <chirag.parikh at thomsonreuters.com>:
> I'm getting below errors. It seems that DBD::Sybase perl module is missing and I can't locate it via "pkgutil". Please help!
What commands did you try? There are two flavors of DBD::Sybase, one with Sybase ASE
bindings and one for FreeTDS:
> dam at login [login]:/export/mirror/opencsw-official > pkgutil -a sybase
> You're not root and didn't set -W, using home dir.
> => Fetching new catalog and descriptions (file:///export/mirror/opencsw-official/unstable/sparc/5.10) if available ...
> Checking integrity of /home/dam/.pkgutil/catalog._export_mirror_opencsw-official_unstable_sparc_5.10 with gpg.
> gpg: Signature made Tue Dec 11 06:46:38 2012 CET using DSA key ID 9306CC77
> gpg: Good signature from "OpenCSW catalog signing <board at opencsw.org>"
> gpg: WARNING: This key is not certified with a trusted signature!
> gpg: There is no indication that the signature belongs to the owner.
> Primary key fingerprint: 4DCE 3C80 AAB2 CAB1 E60C 9A3C 05F4 2D66 9306 CC77
> ==> 3560 packages loaded from /home/dam/.pkgutil/catalog._export_mirror_opencsw-official_unstable_sparc_5.10
> common package catalog size
> pm_dbd_sybase_freetds CSWpm-dbd-sybase-freetds 1.11,REV=2010.11.23 119.9 KB
> pm_dbd_sybase_ocs CSWpm-dbd-sybase-ocs 1.11,REV=2010.11.23 96.7 KB
> install_driver(Sybase) failed: Can't locate loadable object for module DBD::Sybase in @INC (@INC contains: /ilx/lib /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1 /opt/csw/share/perl/5.10.1 .) at (eval 10) line 3
> Compilation failed in require at (eval 10) line 3.
> Perhaps a module that DBD::Sybase requires hasn't been fully installed
After installation you need to have the Sybase OCS installation in /opt/csw/sybase/OCS-12_5
as the RUNPATH is included in the Perl module:
[10] RUNPATH /opt/csw/sybase/OCS-12_5/lib
You can also set the LD_LIBRARY_PATH to match if you have a different location.
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
More information about the users
mailing list