[Linux-HA] Problem with libxml2 when compiling ha-linux

Malcolm Turnbull malcolm at loadbalancer.org
Fri Nov 14 07:08:20 MST 2008


I was being an idiot as usual, I had compiled libxml2 into the default
directory of
/usr/local/lib
But heartbeat expected it to be in /usr/lib/

I then ran into problems with RecoveryManager and yacc errors...
tried the documented versions of Bison & Flex to no avail and in the
end just changed the yacc.y code
to No Warnings to get around it...

Its now compiled and running, but can't connect to /dev/ttys0 and
crashes, but I will do some debuging before posting another question
to the list.





2008/11/5 Dejan Muhamedagic <dejanmm at fastmail.fm>
>
> Hi,
>
> On Wed, Nov 05, 2008 at 10:25:53AM +0000, Malcolm Turnbull wrote:
> > I've been trying to compile heartbeat latest from source on Linux
> > 2.4.32/Slackware10 but get the following error:
> >
> > checking size of char... configure: error: cannot compute sizeof (char), 77
> > See `config.log' for more details.
> >
> >
> > configure:32984: ./conftest
> > ./conftest: error while loading shared libraries: libxml2.so.2: cannot open
> > shared object file: No such file or directory
> > configure:32987: $? = 127
> > configure: program exited with status 127
> > configure: failed program was:
> > | /* confdefs.h.  */
> >
> >
> > I had to compile libxml2 from the latest source, do I need to link it in
> > some way?
>
> Strange that slackware doesn't have that package. You don't need
> to link it yourself, just install it.
>
> Thanks,
>
> Dejan
>
>
> >
> > Thanks in advance of any help.
> >
> >
> > --
> > Regards,
> >
> > Malcolm Turnbull.
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/


More information about the Linux-HA mailing list