If you can buy new books, you can buy new books to offset them, but you must communicate with the library.
If the lost book is not available in the market, it should be compensated according to the current market price.