Thanks!

I went through the link you shared and there somebody suggested to add the following -

You might need this "add -DSYB_LP64" in the Makefile for 64-bit.

So i modified the following in Makefile, not sure if this what he meant -

EXTRALIBS = -L/opt/sap/OCS-16_0/lib -lsybct -lsybcs -lsybtcl -lsybcomn + -lsybintl -lsybblk -DSYB_LP64 LDLOADLIBS = -L/opt/sap/OCS-16_0/lib -lsybct -lsybcs -lsybtcl -lsybcom +n -lsybintl -lsybblk -ldl -lm -DSYB_LP64
But it didn't work.

How to set LP64 flag in Makefile.PL? Not sure where to enable LP64. Also, I tried modifying the CONFIG file which is placed in the same folder where Makefile.PL and added "BUILD_TYPE=64" even that didn't work.

Though i was able to by-pass the error using a dirty hack, which is by replacing all the .so file with 64 bit version of .so file and the make went through fine. During "make test" half of the test failed and "make install" succeeded. And my perl script also compiled.

But still i want to know the right way to fix this.


In reply to Re^2: DBD::Sybase make fails because of incompatible shared object(.so) by fire_blade
in thread DBD::Sybase - 'make' fails because of incompatible shared object(.so) by fire_blade

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.