You might want to recompile from sources both libxml2 and libxslt.
Something is not right with your installation.
Aleksey
On 5/24/22 11:14 AM, Hany Heggy wrote:
Thanks for your help
i compiled xmlsec but while calling it it give the error
[root@UAT4] /usr/local/bin > ./xmlsec1
exec(): 0509-036 Cannot load program ./xmlsec1 because of the following
errors:
0509-130 Symbol resolution failed for
/usr/lib/libxslt.a(libxslt.so.1) because:
0509-136 Symbol xmlBufUse (number 36) is not exported from
dependent module /usr/lib/libxml2.a(libxml2.so.2).
0509-136 Symbol xmlBufContent (number 37) is not exported from
dependent module /usr/lib/libxml2.a(libxml2.so.2).
0509-026 System error: Error 0
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
On Tue, May 24, 2022 at 4:20 PM Aleksey Sanin <[email protected]
<mailto:[email protected]>> wrote:
BTW if you just need openssl and don't need gcrypt, you can disable it
with --without-gcrypt in configure script.
Aleksey
On 5/24/22 10:01 AM, Aleksey Sanin wrote:
> Sounds like there are some problems with libintl. Sorry I can't
> really help you with debugging build issues on AIX.
>
> Best,
>
> Aleksey
>
> On 5/24/22 9:45 AM, Hany Heggy wrote:
>> thanks Aleksey
>>
>> i got this error while make all
>> CC libxmlsec1_openssl_la-signatures.lo
>> CC libxmlsec1_openssl_la-symkeys.lo
>> CC libxmlsec1_openssl_la-x509.lo
>> CC libxmlsec1_openssl_la-x509vfy.lo
>> CCLD libxmlsec1-openssl.la <http://libxmlsec1-openssl.la>
<http://libxmlsec1-openssl.la <http://libxmlsec1-openssl.la>>
>> Target "all" is up to date.
>> Making all in gcrypt
>> CC libxmlsec1_gcrypt_la-app.lo
>> CC libxmlsec1_gcrypt_la-asn1.lo
>> CC libxmlsec1_gcrypt_la-ciphers.lo
>> CC libxmlsec1_gcrypt_la-crypto.lo
>> CC libxmlsec1_gcrypt_la-digests.lo
>> CC libxmlsec1_gcrypt_la-hmac.lo
>> CC libxmlsec1_gcrypt_la-kw_aes.lo
>> CC libxmlsec1_gcrypt_la-kw_des.lo
>> CC libxmlsec1_gcrypt_la-symkeys.lo
>> CC libxmlsec1_gcrypt_la-asymkeys.lo
>> CC libxmlsec1_gcrypt_la-signatures.lo
>> CCLD libxmlsec1-gcrypt.la <http://libxmlsec1-gcrypt.la>
<http://libxmlsec1-gcrypt.la <http://libxmlsec1-gcrypt.la>>
>> grep: can't open /opt/freeware/lib/libintl.la
<http://libintl.la> <http://libintl.la <http://libintl.la>>
>> sed: Cannot find or open file /opt/freeware/lib/libintl.la
<http://libintl.la>
>> <http://libintl.la <http://libintl.la>>.
>> libtool: error: '/opt/freeware/lib/libintl.la
<http://libintl.la> <http://libintl.la <http://libintl.la>>'
>> is not a valid libtool archive
>> make: 1254-004 The error code from the last command is 1.
>>
>>
>> Stop.
>> make: 1254-004 The error code from the last command is 1.
>>
>>
>> Stop.
>> make: 1254-004 The error code from the last command is 1.
>>
>>
>> Stop.
>> make: 1254-004 The error code from the last command is 2.
>>
>>
>> Stop.
>>
>>
>> On Tue, May 24, 2022 at 3:32 PM Aleksey Sanin
<[email protected] <mailto:[email protected]>
>> <mailto:[email protected] <mailto:[email protected]>>> wrote:
>>
>> Sorry I don't understand your question.
>>
>> BTW, you might want to consider using [email protected]
<mailto:[email protected]>
>> <mailto:[email protected] <mailto:[email protected]>>
mailing list
>> since there might be someone who is using xmlsec on AIX.
>>
>> Best,
>>
>> Aleksey
>>
>> On 5/24/22 8:46 AM, Hany Heggy wrote:
>> > Thanks for your prompt reply, I will try to compile the
source.
>> >
>> > i have the following on my AIX
>> > IBM openssl
>> > libxml2, libiconv
>> > libxslt
>> > i don't need dynamic crypto loading
>> >
>> > The question is: is there any possibility that the
compilation
>> fail if
>> > the open ssl version needed for rpm
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Tue, May 24, 2022 at 2:33 PM Aleksey Sanin
>> <[email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>
>> > <mailto:[email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>>> wrote:
>> >
>> > I don't provide RPMs any longer but you can download the
>> source code
>> > and compile it yourself. In general, xmlsec depends on
>> > - One or more crypto libraries (openssl, nss, gnutls)
>> > - libxml2 (which might depend on libiconv)
>> > - libxslt
>> > - libltdl (needed only if you use dyanmic crypto loading)
>> >
>> >
>> > Aleksey
>> >
>> > On 5/24/22 7:28 AM, Hany Heggy wrote:
>> > > Is there a way to get the xmlsec as AIX BFF package
>> format ?
>> > >
>> > > On Tue, May 24, 2022 at 1:26 PM Hany Heggy
>> <[email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>
>> > <mailto:[email protected]
<mailto:[email protected]> <mailto:[email protected]
<mailto:[email protected]>>>
>> > > <mailto:[email protected]
<mailto:[email protected]> <mailto:[email protected]
<mailto:[email protected]>>
>> <mailto:[email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>>>> wrote:
>> > >
>> > > Dears,
>> > >
>> > > we need your support to install xmlsec on AIX 7.1
>> > > here is a lit of installed rpm on AIX server
>> > >
>> > > [root@UAT4] /root/bin > rpm -qa
>> > > expect-5.42.1-3.ppc
>> > > libiconv-1.14-22.ppc
>> > > nedit-5.5-1.ppc
>> > > expat-devel-2.1.1-1.ppc
>> > > pkg-config-0.29.1-1.ppc
>> > > db-4.8.24-4.ppc
>> > > bash-4.3.30-1.ppc
>> > > info-5.0-2.ppc
>> > > readline-6.2-3.ppc
>> > > zlib-1.2.7-1.ppc
>> > > libgcc-6.3.0-1.ppc
>> > > sqlite-3.15.2-1.ppc
>> > > glib2-2.48.0-1.ppc
>> > > ncurses-6.0-1.ppc
>> > > libgcrypt-1.8.2-1.ppc
>> > > libgpg-error-devel-1.27-1.ppc
>> > > libxslt-devel-1.1.32-1.ppc
>> > > tcl-8.4.7-3.ppc
>> > > xz-libs-5.2.2-1.ppc
>> > > unzip-6.0-3.ppc
>> > > zlib-devel-1.2.7-1.ppc
>> > > gdbm-1.12-1.ppc
>> > > libxml2-2.9.5-1.ppc
>> > > libxml2-devel-2.9.5-1.ppc
>> > > python-2.7.13-1.ppc
>> > > tk-8.4.7-3.ppc
>> > > gettext-0.17-8.ppc
>> > > gcc-4.2.0-3.ppc
>> > > expat-2.1.1-1.ppc
>> > > libffi-3.0.12-1.ppc
>> > > xz-devel-5.2.2-1.ppc
>> > > libstdc++-6.3.0-1.ppc
>> > > glib2-devel-2.48.0-1.ppc
>> > > libgpg-error-1.27-1.ppc
>> > > libxslt-1.1.32-1.ppc
>> > > libgcrypt-devel-1.8.2-1.ppc
>> > > AIX-rpm-7.1.5.32-7.ppc
>> > >
>> > > the provided xmlsec rpms on the site request
lots of
>> other rpms,
>> > > Is there any way to find all needed rpms
bundled or
>> compile
>> > the source ?
>> > >
>> > >
>> > > --
>> > > Regards,
>> > >
>> > > Hany Heggy
>> > >
>> > >
>> > >
>> > > --
>> > > Regards,
>> > >
>> > > Hany Heggy
>> > >
>> >
>> >
>> >
>> > --
>> > Regards,
>> >
>> > Hany Heggy
>> >
>>
>>
>>
>> --
>> Regards,
>>
>> Hany Heggy
>>
> _______________________________________________
> xmlsec mailing list
> [email protected] <mailto:[email protected]>
> http://www.aleksey.com/mailman/listinfo/xmlsec
<http://www.aleksey.com/mailman/listinfo/xmlsec>
--
Regards,
Hany Heggy
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec