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 -
But it didn't work.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
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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |