Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2023-06

LibXML2

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

David Connolly

Hi all,

I upgraded to Debian 12 today and I've noticed some weird behaviour with libxml2.

Free Pascal Compiler version 3.2.2+dfsg-20 [2023/03/30] for x86_64

program xml;
uses
xml2;
begin
end.

This program compiles fine, but will not run against the updated version of libXML2.

The call of xmlXPathInit seems to be causing the error.

Regards,
David Connolly

Reply by email

gabor
to David Connolly

Currently, libxml2 headers are outdated and partially incorrect/incomplete. I updated the headers a couple of years ago. You can find the patch file here:

https://gitlab.com/freepascal.org/fpc/source/-/issues/38905

Michał.

W dniu 2023-06-12 o 17:12, David Connolly via fpc-pascal pisze:

Show quoted text 20 lines
Hi all, I upgraded to Debian 12 today and I've noticed some weird behaviour with libxml2. Free Pascal Compiler version 3.2.2+dfsg-20 [2023/03/30] for x86_64 program xml; uses xml2; begin end. This program compiles fine, but will not run against the updated version of libXML2. The call of xmlXPathInit seems to be causing the error. Regards, David Connolly

Reply by email

David Connolly
to gabor

Many thanks.

On Mon, 12 Jun 2023 at 16:37, gabor via fpc-pascal <

Show quoted text 35 lines
wrote: Currently, libxml2 headers are outdated and partially incorrect/incomplete. I updated the headers a couple of years ago. You can find the patch file here: https://gitlab.com/freepascal.org/fpc/source/-/issues/38905 Michał. W dniu 2023-06-12 o 17:12, David Connolly via fpc-pascal pisze: > Hi all, > > I upgraded to Debian 12 today and I've noticed some weird behaviour with > libxml2. > > Free Pascal Compiler version 3.2.2+dfsg-20 [2023/03/30] for x86_64 > > program xml; > uses > xml2; > begin > end. > > This program compiles fine, but will not run against the updated version > of libXML2. > > The call of xmlXPathInit seems to be causing the error. > > Regards, > David Connolly _______________________________________________ fpc-pascal maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email