[Pacemaker] building dev on Solaris

Andrew Beekhof beekhof at gmail.com
Sat Sep 13 13:59:34 EDT 2008


On Sep 12, 2008, at 1:55 PM, David Lee wrote:

> On Fri, 12 Sep 2008, Paul Walsh wrote:
>
>>> ../lib/common/.libs/libcrmcommon.so: attempted multiple inclusion  
>>> of file
>>> Undefined                       first referenced
>>> symbol                             in file
>>> vasprintf                           ../lib/common/.libs/ 
>>> libcrmcommon.so
>>> ld: fatal: Symbol referencing errors. No output written to .libs/cib
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [cib] Error 1
>>> make[1]: Leaving directory `/software/Pacemaker-Devel-d3799a333adb/ 
>>> cib'
>>> make: *** [all-recursive] Error 1
>>> [...]
>>> But I suspect I'm missing a shared library somewhere.
>>
>> [...]
>> Need to find a way round this for Pacemaker to build on Solaris :(
>
> In heartbeat this sort of thing occured with several routines, and the
> subdirectory "replace/" was designed and maintained to handle it.
>
> Presumably there is a "replace/" in pacemaker?

No, but we link against the heartbeat libs which include those  
functions if needed.

At least, thats the theory

>
>
> The alternative thing we did on such occurences was to see whether  
> there
> was a nearby routine of similar functionality but wider  
> availability, and
> adjust the source code, if reasonably possible, to use that.
>
>
> -- 
>
> :  David Lee                                I.T. Service          :
> :  Senior Systems Programmer                Computer Centre       :
> :  UNIX Team Leader                         Durham University     :
> :                                           South Road            :
> :  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
> :  Phone: +44 191 334 2752                  U.K.                  :
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list