net/mpich2: libraries with many 'undefined symbols'
rhurlin at gwdg.de
Thu Feb 3 18:07:26 UTC 2011
On 03.02.2011 15:11 (UTC+1), thierry at FreeBSD.org wrote:
> 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
Ahh, ok. I had assumed that. Since it is experimental until now I think
it is a bit risky to use it.
> Remark: these explanations come from the authors.
More information about the freebsd-ports