On Tue, 12 Nov 2013, Iyer, Balaji V wrote: >> Are you linking with -nostdlib or something similar? IIRC those >> routines are provided by libc on *bsd*. On other systems you may need >> to link in libdl via -ldl. > Yes, I am. In my system SUSE, I need to explicitly link it. >> I'm sure there's autoconf bits to test whether or not -ldl should be >> used for any given system. > Ah Ok. I will dig into it tomorrow.
Thanks, appreciated! As a most simple approach, if others prove too complex, you could start by not linking in -ldl if it does not exist. I believe that'd be a strict improvement unbreaking several non-GNU/Linux platforms by itself. Gerald