Then perhaps it is worth to check if sybase libs are 64bit as well although that may throw other error message
If that were the case then there should have been some warnings about ignoring incompatible libraries .... and maybe there were! (We don't really know.)