[ofiwg] dlopen
Jithin Jose
jithinjose at gmail.com
Thu Aug 27 10:49:49 PDT 2015
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofiwg/attachments/20150827/d05d6991/attachment.html>
More information about the ofiwg
mailing list