State government cuts library funding