in reply to Re^2: Can't load DBlib.so - sybperl 2.18
in thread Can't load DBlib.so - sybperl 2.18

I would rather go the other way and modify your script val_equity_finance_report.pl (the shebang line, or however you're invoking the script) to use perl-5.8.4  (the system Perl is ancient (!) — though 5.8.4 isn't exactly new either...)

Replies are listed 'Best First'.
Re^4: Can't load DBlib.so - sybperl 2.18
by Bijal (Initiate) on Mar 05, 2012 at 08:14 UTC
    Thanks Eliya, I edited teh shebang line and its no longer giving me the memmory wrap error.

    But now its giving me referenced symbol not found errors somthing like below:

    ld.so.1: val_equity_finance_report.pl: fatal: relocation error: file /home/valops/sybperl-2.18/usr/local/perl-5.8/lib/site_perl/5.8.4/sun4-solaris-thread-multi/auto/Sybase/DBlib/DBlib.so: symbol dbopen: referenced symbol not found

    Killed

      How exactly did you build DBlib.so?  Complete output of the build/make steps would help.   Presumably, it didn't get linked against the Sybase libs (which should provide the actual implementation for dbopen).

        I built sybperl on freetds providing SYBASE path to use freetds path & else I installed under my sybperl directory example all the /usr/local

        sybperl make ran completely fine, I gave the /blib/arch path for loading teh DBlib.so still its erroring out as dbopen referenced symbol not found