The best option for combining the two sentences while maintaining their original intent is:
"Libraries are often seen as unnecessary; however, they should be valued for the many necessary services they provide to the community."
This option correctly uses "however" to contrast the perception of libraries with the argument for their value.