Cascade definition loading that worked with .so in 4.0.1 no longer works in 4.5.2

is it possible that a library has its own permissions? just generating hypotheses here.

does anything else from OpenCV work/fail that accesses files, e.g. imread, VideoCapture, the FileStorage stuff?