I like the book written by Mr smith.
I like the book of = is used to describe a specific book "The book of Mormon" "The book of Elli" "The book of Enoch" are all titles of Books.
"The book BY Michelle Obama" = google search this and you get books written by the Author.
"The book OF Michelle Obama" = same results in google.
The book BY = better and most natural.
The book OF = can refer to A book by specific Author/Writer or A title.
Of = owner 0r title Or implied Author/Writer :
Of = "of the year/week/month"
By = Author Writer.
You can use whatever you feel is best for the situation. "of" or "By" but from is not quite correct.
From= "The shop/store/publisher/" Author/writer + name
To make things clear "The book from the Author/Writer Mr smith" = Obvious now what and who you mean.