libcdio_la_dependencies was not getting set. I don't know why this happens, but I've worked around the problem by removing this variable and adding the value of it (libcdio.la) in the places libcdio_la_dependencies is used. Problem reported by Goetz Waschk.