I posted a thread earlier about 'what libraries could do' but probably a prior consideration should be the question of 'what is the role of a library today?
This very question is being considered, of course, out there in the world. There's a very interesting little article here:
http://www.webpages.uidaho.edu/~mbolin/ogunsola2.htm