[csw-users] DBD::Sybase perl module

chirag.parikh at thomsonreuters.com chirag.parikh at thomsonreuters.com
Tue Dec 11 17:57:58 CET 2012


Hi Dago,
ldd gives below errors. And, "/opt/csw/lib/perl/site_perl/DBD/Sybase.pm" does NOT exist...That's weird! I even un-installed both; pm_dbd_sybase_freetds and pm_dbd_sybase_ocs and re-installed them. Still Sybase.pm is not there and ldd gives below errors. Please advise.


milkyway> ldd -r /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so
        libct.so =>      (file not found)
        libcs.so =>      (file not found)
        libtcl.so =>     (file not found)
        libcomn.so =>    (file not found)
        libintl.so =>    /lib/libintl.so
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.1 =>     /lib/libm.so.1
        symbol not found: __ctype               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: PL_memory_wrap                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Istack_sp_ptr            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Imarkstack_ptr_ptr               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Istack_base_ptr          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Iop_ptr          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Icurpad_ptr              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_newmortal             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_setiv         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_mg_set           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_croak_nocontext          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_croak_xs_usage           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_2iv_flags             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newSViv          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_2mortal               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newSVsv          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_get_sv           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_2pv_flags             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Isv_yes_ptr              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Isv_no_ptr               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Isv_undef_ptr            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strcmp                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newSV_type               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newSVpv          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_hv_common_key_len                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strcat                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newRV_noinc              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Istack_max_ptr           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_stack_grow               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Gthr_key_ptr             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: pthread_getspecific           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Imarkstack_max_ptr               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_markstack_grow           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_call_method              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: sprintf               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_setpv         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_mg_get           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_av_extend                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_mg_size          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_av_make          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_av_push          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_ISv_ptr          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_IXpv_ptr         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_2bool         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_mg_find          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_dowantarray              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newRV            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_warn_nocontext           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Idirty_ptr               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: PerlIO_printf         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newSV            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_form             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_new_version              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_derived_from          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_vcmp             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newXS            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Iunitcheckav_ptr         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Iscopestack_ix_ptr               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_call_list                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_vstringify               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_croak            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_options            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_catpv         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_push_scope               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Itmps_floor_ptr          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_save_int         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Itmps_ix_ptr             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_call_sv          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_free_tmps                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_pop_scope                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_PerlIO_stderr            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_con_props          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Ierrgv_ptr               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_cancel             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_close              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strchr                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strcpy                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_PerlIO_flush             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strlen                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: pthread_mutex_init            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_ctx_alloc          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_diag               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_config             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_init               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_callback           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_config             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strrchr               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strncpy               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_loc_alloc          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_locale             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_dt_info            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_ctx_drop           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: pthread_mutex_lock            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: pthread_mutex_unlock          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strstr                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: getpid                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strncasecmp           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: atoi          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_con_alloc          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_connect            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_con_drop           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_command            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_send               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_results            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_cmd_drop           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strncmp               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: memset                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_describe           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_bind               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_fetch              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_backoff               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_loc_drop           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_setsv_flags           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_Ina_ptr          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_capability         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_cmd_alloc          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_safesysmalloc            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_hv_placeholders_get              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_dynamic            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_res_info           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_safesysfree              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strtok                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_newSVpvn         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_av_len           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_av_clear         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_av_store         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_compute_info               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_convert            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_safesyscalloc            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_setpvn                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_is_utf8_string           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_setnv         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_catpvn_flags          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_hv_iterinit              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_hv_iternextsv            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_free          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_get_data           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_send_data          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_data_info          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_dt_crack           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: .stret1               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strtol                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: Perl_sv_upgrade               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: atof          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: strspn                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_param              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: getenv                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ep_ssd            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ep_s              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ep_ss             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: comn_malloc           (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_conv_func         (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ep_sdd            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: memcpy                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: comn_free             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: cs_calc               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ep_sds            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ep_sss            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_drop                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_shut                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_err_init          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_build_errmsg              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ep_sd             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: memcmp                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_poll               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_cmd_props          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_init                (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_alloc               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_sendpassthru               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: comn_num_getlen               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: .div          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: comn_realloc          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_st_ver            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_ns_trans          (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_iopost              (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_complete            (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: ct_wakeup             (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_start               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_abort               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        symbol not found: com_async_props               (/opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so)
        libc.so.1 =>     /lib/libc.so.1
        /platform/SUNW,SPARC-Enterprise-T5120/lib/libc_psr.so.1
        libm.so.2 =>     /lib/libm.so.2
milkyway>


Chirag.


-----Original Message-----
From: users-bounces+chirag.parikh=thomsonreuters.com at lists.opencsw.org [mailto:users-bounces+chirag.parikh=thomsonreuters.com at lists.opencsw.org] On Behalf Of Dagobert Michelsen
Sent: Tuesday, December 11, 2012 10:07 AM
To: Questions and discussions
Subject: Re: [csw-users] DBD::Sybase perl module

Hi Chirag,

Am 11.12.2012 um 15:57 schrieb <chirag.parikh at thomsonreuters.com>:
> Thanks. I had installed both freetds and OCS, but neither seem to have Sybase.pm module, or do they?

They do:
  /opt/csw/lib/perl/site_perl/DBD/Sybase.pm f none 0444 root bin 75443 5553 1289051389 CSWpm-dbd-sybase-freetds

The FreeTDS-flavor contains the basic stuff for DBD::Sybase, the OCS-flavor is an addon that
takes precedence:

-r--r--r--   1 root     bin            0 Nov 23  2010 /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-freetds.bs
-r-xr-xr-x   1 root     bin       145320 Nov 23  2010 /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-freetds.so
-r--r--r--   1 root     bin            0 Nov 23  2010 /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-ocs.bs
-r-xr-xr-x   1 root     bin       252928 Nov 23  2010 /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-ocs.so
lrwxrwxrwx   1 root     other         57 Dec 11 16:02 /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.bs -> /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-ocs.bs
lrwxrwxrwx   1 root     other         57 Dec 11 16:02 /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so -> /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase-ocs.so

> I'll try setting LD path variable as you suggested since Sybase installation is in different path and let you know. Thanks.

This must work without errors:
  ldd -r /opt/csw/lib/perl/site_perl/auto/DBD/Sybase/Sybase.so

If you have a different path you can either symlink /opt/csw/sybase/OCS-12_5/lib to your location
(recommended) or use LD_LIBRARY_PATH to point to your lib location.


Best regards

  -- Dago


> 
> Chirag.
> 
> ----- Original Message -----
> From: Dagobert Michelsen [mailto:dam at opencsw.org]
> Sent: Tuesday, December 11, 2012 02:46 AM
> To: Questions and discussions <users at lists.opencsw.org>
> Subject: Re: [csw-users] DBD::Sybase perl module
> 
> 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
> 
> _______________________________________________
> users mailing list
> users at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/users

-- 
"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

_______________________________________________
users mailing list
users at lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/users


More information about the users mailing list