I followed these instructions on Ubuntu 17.04. Works great until you try to compile Darktable.
Darktable builds but the lens module is not there. Darktable 2.2.3 complains in the terminal about not finding the lensfun module. 2.2.4 is even more vague, it only complains if you try to open a picture which (on a previous version of Darktable) uses the lensfun module.
Long story short it is an easy fix. Run ldconfig after installing darktable. Then build Darktable. This might be obvious to the more seasoned linux user but not to me (it cost me a few hours to figure it out). You might want to include it at the end of the instructions to install Lensfun from source.
It seems i made a small mistake, but I can not edit the original post.
Long story short it is an easy fix. Run ldconfig after installing lensfun. Then build Darktable.
I don't know the tool ldconfig, after 30 years of compiling. Is it really needed to be called explicitly? Anyway, I pass the ticket to Sebastian.
Thinking about this again, I think I experienced the same problem but solved it by creating the symbolic links manually and didn’t bother further. I added a comment to the docs (commit 41252526).