Building on Linux: Cycles looses jpg support


I’ve been building Blender from trunk under Linux for some time now and I noticed that Cycles doesn’t render jpg textures, even tough they work in the viewport. I don’t have the same problem with the official release.

Has anyone encountered this before? I can post library versions if I’d know which ones… OIIO, openjpeg, I suspect one of those.

jpgs work everywhere else in Blender btw.