Hello friends!
I use in my projects to libxml2-pascal library
https://sourceforge.net/projects/libxml2-pas/. Use a long time.
Already gone through various environments using this library. Used environments are as follows:
1) Lazarus 1.4.x FPC 2.6.x on Windows 7.8 and 10 32 and 64 bits
2) Lazarus 1.6.x FPC 3.0.x on Windows 7.8 and 10 32 and 64 bits
3) Lazarus 1.4.x FPC 2.6.x Linux, Centos 6.7 distribution and Ubuntu 12.x and 14.x 32bits
4) Lazarus 1.6.x FPC 3.0.x Linux, Centos 6.7 distribution and Ubuntu 12.x and 14.x 32bits
The libxml2 library, both the DLL as the .so are version 2.9.4
But I can not use the library on Linux 64bits. I really need to use this library in Linux 64bit environment, I've tried everything I know, but it is always displayed the exception message
Linux 64 environment can make the library loading with
LoadLibrary ( 'libxml2.so');
But when I use GetProcess such as the following line:
xmlStringComment: = PAnsiChar (GetProcAddress (libHandle 'xmlStringComment'));
I get the message below
System design raised exception class 'External: SIGSEGV'.
The address 7FFFF7DE4DF0
I do not know what to do, will that someone could help me with any tips?
I thank you