[openib-general] Static linking with libibverbs

Michael S. Tsirkin mst at mellanox.co.il
Wed Nov 1 10:58:31 PST 2006


Quoting r. Jeff Squyres <jsquyres at cisco.com>:
> Subject: Static linking with libibverbs
> 
> Do you like large executables?
> Do you eschew system-installed libc's?
> Were you ever frustrated that linking against libibverbs would  
> prevent using "-static"?
> 
> Well, now you too can produce 100% statically linked applications  
> that use libibverbs!  If you call now, you can take part in this  
> exclusive offer from the OpenFabrics Alliance and Open MPI project.   
> Hurry, supplies are limited.
> 
> First, you need to download and install libibverbs v1.0.4 (which was  
> released after OFED v1.1.1, so if you have installed OFED v1.1.1 or  
> prior, you will need to manually update your libibverbs).  Prior  
> versions of libibverbs will not work with the "-static" option to gcc  
> (or whatever the static linking option is for your compiler).

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

-- 
MST




More information about the general mailing list