[X2Go-Dev] Bug#853: libX11 underlinking problem: undefined reference to 'dlopen' and 'dlsym'

Bernard Cafarelli voyageur at gentoo.org
Fri Apr 24 15:47:14 CEST 2015


Package: nx-libs
Version: 3.5.0.30

Downstream bugreport: https://bugs.gentoo.org/show_bug.cgi?id=546868

With gold linker, compilation will fail with:
../../exports/lib/libNX_X11.so: error: undefined reference to 'dlopen'
../../exports/lib/libNX_X11.so: error: undefined reference to 'dlsym'

This is caused by libX11 not getting linked with libdl while using these 
symbols, attached patch adds "-ldl" to REQUIREDLIBS

-- 
Bernard Cafarelli (Voyageur)
Gentoo developer (NX, GNUstep, net-misc, llvm/clang, ...)


More information about the x2go-dev mailing list