in reply to Can't load DBlib.so - sybperl 2.18

The error probably means that you haven't properly installed sybperl, but only copied the .pm files. That's not enough for a module that contains C extensions too.

Replies are listed 'Best First'.
Re^2: Can't load DBlib.so - sybperl 2.18 (details)
by tye (Sage) on Mar 05, 2012 at 15:24 UTC
    but only copied the .pm files

    The error messages make it pretty obvious that this isn't the case. Perl wouldn't say "Can't load $very_specific_path/$mod.so" unless it found a *.so file. Even if it did, the "can't load" would then have a reason of "no such file" not a specific complaint about a symbol reference found in that *.so file not being resolved.

    - tye        

Re^2: Can't load DBlib.so - sybperl 2.18
by Bijal (Initiate) on Mar 01, 2012 at 12:33 UTC
    I did a fresh installation of freetds & sybperl using freetds, unless it wont generate DBlib.so, its something to do with teh library paths, which is done by Dynaloader.pm module

    I googled and found that Dynlaoader.pm loads libraries from default lib paths and then looks @ $LD_LIBRARY_PATH for any new libraries, due to which my DBlib library is probably not referenced.