in reply to Re^3: DBD::Sybase make fails because of incompatible shared object(.so)
in thread DBD::Sybase - 'make' fails because of incompatible shared object(.so)
Thanks @corion & @Anonymous Monk
'make' was successful once i modified the following entries in Makefile to -
EXTRALIBS = -L/opt/sap/OCS-16_0/lib -lsybct64 -lsybcs64 -lsybtcl64 -ls +ybcomn64 -lsybintl64 -lsybblk64 -DSYB_LP64 LDLOADLIBS = -L/opt/sap/OCS-16_0/lib -lsybct64 -lsybcs64 -lsybtcl64 -l +sybcomn64 -lsybintl64 -lsybblk64 -ldl -lm -DSYB_LP64
It is now picking up all the 64 bit .so files. It was complaining for the following files -
- libsybct64.so/libsybct.so - libsybcs64.so/libsybcs.so - libsybtcl64.so/libsybtcl.so - libsybcomn64.so/libsybcomn.so - libsybintl64.so/libsybintl.so - libsybblk64.so/libsybblk.so
Even though my issue is resolved, out of curiosity i was wondering what changes needs to be done to 'Makefile.PL' to generate correct 'Makefile'.
Also why one should modify these files, shouldn't it automatically understand that it is a 64 bit machine and the perl module should look for 64 bit version of .so file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: DBD::Sybase make fails because of incompatible shared object(.so)
by Corion (Patriarch) on Sep 28, 2015 at 10:44 UTC |