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

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

  • Comment on Re^4: Can't load DBlib.so - sybperl 2.18

Replies are listed 'Best First'.
Re^5: Can't load DBlib.so - sybperl 2.18
by Eliya (Vicar) on Mar 05, 2012 at 08:23 UTC

    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