What type of paint shoud I use to paint shelves?

I have used the best latex paints available but I have found that anything placed on them tend to stick with the result that the paint pulls off when the object is picked up.

In the past when smelly old oil paint was the only thing available this didn't seem to be a cause problem but they don't seem to be available.

Does anyone have any advice on what to use?