net/mpich2: libraries with many 'undefined symbols'

thierry at FreeBSD.org thierry at FreeBSD.org
Thu Feb 3 14:17:21 UTC 2011


Selon Rainer Hurling <rhurlin at gwdg.de> le jeu  3 fév 14:19:16 2011 :

> Ok, so I usually have to take care to link libraries like libmpl,  
> libopa etc. in addition to libmpich (or using the wrappers if  
> possible).

Yes, this is the idea. Note: libopa is rarely needed.

>>>> Yet another solution could be to configure mpich2 with
>>>> --enable-lib-depend, but this is experimental...
>
> What would be the consequence of configuring mpich2 with  
> --enable-lib-depend? Would dependencies like libmpl be more  
> integrated in libmpich?

This is based on inter-library dependencies. This is experimental and
only for shared library builds at this time. It causes libmpich.so to
depend on libmpl.so and libopa.so. Once you do that, you can just link
to libmpich.so, and it'll automatically pick the remaining libraries as
needed.

Remark: these explanations come from the authors.
-- 
Th. Thomas.


More information about the freebsd-ports mailing list