[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

A quite easy task: undefined reference to dl_foo


A lot of packages are failing with something like

dynamic.cpp:(.text+0x1e): undefined reference to `dlerror'

This is simply because the package does not add -ldl on GNU/Hurd (while
it probably does on GNU/Linux). Fixing them should only be a matter of
doing so (since build already went fine up to that final link stage).
Usually simply by adding gnu* in the configure.ac or .in script.


Reply to: