Sharing a book means you can't read it while your friend is reading it.
No book publisher would deny libraries the right to lend books. They WOULD object strongly and reasonably if the library got into the re-publishing business.
You have the RIGHT to share. You don't have the RIGHT to copy for others.