Matching the Makefile is a good approach if you don't find the place in Makefile.PL where the libraries and command line switches are added.
From your description it seems as if you only added -DSYS_LP64 but omitted -llibsybtcl64. Most likely, you will also need to remove -lsybctl .
My guess is that you will need to change all mentions of -lsyb* to -lsyb*64 so the build process picks up the 64-bit versions of the libraries.
In reply to Re^3: DBD::Sybase make fails because of incompatible shared object(.so)
by Corion
in thread DBD::Sybase - 'make' fails because of incompatible shared object(.so)
by fire_blade
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |