[openib-general] Static linking with libibverbs
Michael S. Tsirkin
mst at mellanox.co.il
Thu Nov 2 00:19:41 PST 2006
Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [openib-general] Static linking with libibverbs
>
> > static linking actually can be made to work even with older library versions.
> > See this HowTo (written on 02 of November, 2005).
> > https://openib.org/tiki/tiki-index.php?page=HowToFAQ
>
> That's not really static linking.
OK, its a difference of terms then :)
> If you try to build a true static
> executable, which contains static libc and in particular static libdl,
> there's no way the old code can work, for multiple reasons. For one
> thing, dlopen(NULL, RTLD_NOW) doesn't work on static executables so
> libibverbs couldn't find a low-level driver that is statically linked
> in.
Does linking in low level driver work now even with -static?
--
MST
More information about the general
mailing list