[ofiwg] dlopen

Jeff Squyres (jsquyres) jsquyres at cisco.com
Thu Aug 27 10:47:19 PDT 2015


On Aug 27, 2015, at 1:34 PM, Jose, Jithin <jithin.jose at intel.com> wrote:
> 
> Linker errors:
> 
> ./src/.libs/libfabric.so: undefined reference to `dlopen'
> ./src/.libs/libfabric.so: undefined reference to `dlclose'
> ./src/.libs/libfabric.so: undefined reference to `dlerror'
> ./src/.libs/libfabric.so: undefined reference to `dlsym'
> collect2: error: ld returned 1 exit status
> 
> Had to add -ldl to CFLAGS.

-l flags go in LIBS, not CFLAGS.

How are you configuring?  I ask because I'm not getting these errors...?

-- 
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/




More information about the ofiwg mailing list