in reply to Re: DBD::Sybase make fails because of incompatible shared object(.so)
in thread DBD::Sybase - 'make' fails because of incompatible shared object(.so)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBD::Sybase make fails because of incompatible shared object(.so)
by Corion (Patriarch) on Sep 25, 2015 at 17:27 UTC | |
by fire_blade (Initiate) on Sep 28, 2015 at 09:51 UTC | |
by Corion (Patriarch) on Sep 28, 2015 at 10:44 UTC | |
|
Re^3: DBD::Sybase make fails because of incompatible shared object(.so)
by Anonymous Monk on Sep 26, 2015 at 00:09 UTC |