as far as i know, sql server 2000 only runs on windows boxes ... i don't think you'll find the files and libraries you are looking for unless microsoft has a version for solaris ...
however, there are
perl modules that let you connect to databases --- you might want to check them out as reference or as another option ...
... you could also check with the vendor of your c++ compiler to see if those files (or something similar) are included ...