The best option to combine 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 appropriately contrasts the perception of libraries with their actual value, keeping the intent clear.