[Pacemaker] building dev on Solaris

David Lee t.d.lee at durham.ac.uk
Fri Sep 12 07:55:52 EDT 2008


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?

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.                  :




More information about the Pacemaker mailing list