[ofiwg] dlopen

Jeff Squyres (jsquyres) jsquyres at cisco.com
Thu Aug 27 11:18:29 PDT 2015


Ah, I see -- the verbs provider pulls in libibverbs, which pulls in libel.  So if you disable verbs, you see this error.


> On Aug 27, 2015, at 1:49 PM, Jithin Jose <jithinjose at gmail.com> wrote:
> 
> This is my configure line:
> 
> ./configure --prefix=/home/jose/workspace/libfabric.install --disable-verbs --disable-usnic --enable-sockets --disable-psm CFLAGS="-g -Wall" --enable-debug
> 
> --
> Jithin Jose
> 
> On Thu, Aug 27, 2015 at 10:47 AM, Jeff Squyres (jsquyres) <jsquyres at cisco.com> wrote:
> 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/
> 
> _______________________________________________
> ofiwg mailing list
> ofiwg at lists.openfabrics.org
> http://lists.openfabrics.org/mailman/listinfo/ofiwg
> 


-- 
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