[ofiwg] dlopen

Howard Pritchard hppritcha at gmail.com
Thu Aug 27 10:49:49 PDT 2015


I don't see on mac/dawrin, but we do see on the sles11 sp3 (don't laugh)
systems
we are using.

Fixed with the usual Makefile.am changes.  Is there some reason that maybe
HAVE_LIBDL wasn't being defined earlier and now is?

Howard


2015-08-27 11:47 GMT-06:00 Jeff Squyres (jsquyres) <jsquyres at cisco.com>:

> 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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofiwg/attachments/20150827/f1f04afd/attachment.html>


More information about the ofiwg mailing list