The best option for combining the two sentences while preserving the 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 transition effectively contrasts the perception of libraries with the argument for their value, maintaining the original intent of both sentences.