If you are on linux you can get the libs off of
http://linux.sybase.com/. If you get the 11.0.3.3 version it's completely free.
However I'm not sure that you'll be able to use these libs with MS-SQL, because of protocol differences between Sybase and MS-SQL.
Michael