[xmlsec] xmlsec1 run-time warning with 1.2.6
Ed Shallow
ed.shallow at rogers.com
Sat Feb 19 07:33:10 PST 2005
Hello Valery and Aleksey,
When I run the xmlsec 1.2.6 command line utility I do get a warning as
follows:
Warning: program compiled against libxml 206 using older 205
xmlsec1: relocation error: /usr/lib/libxmlsec1.so.1: undefined symbol:
xmlStrPrintf
Everything installed from RPMs
From rpm -q I have:
libxml2-2.5.4-1
libxml2-devel--2.5.4-1
libxml2-python-2.5.4-1
xmlsec1-1.2.6-1
xmlsec1-devel-1.2.6-1
libxml-1.8.17-8
I have installed the latest xmlsec 1.2.6 and then installed the latest
pyxmlsec 1.2.6 (Valery) The pyxmlsec install and build output is attached.
This was installed to a clean RedHat Machine with no previous version of
xmlsec or pyxmlsec. RPM ran clean.
This is what I am receiving from my previously working pyxmlsec 0.2.0
app with xmlsec 1.2.4
> Traceback (most recent call last):
> File "./httpserver.py", line 203, in ?
> from Verify import *
> File "/usr/local/src/epm/classes/Verify.py", line 5, in ?
> import xmlsec
> File "/usr/lib/python2.2/site-packages/xmlsec.py", line 46, in ?
> import xmlsecmod
> ImportError: /usr/lib/libxmlsec1.so.1: undefined symbol: xmlStrVPrintf
The 205 and 206 are confusing. What lib exactly is out of synch ?
Which RPM(s) must I upgrade ?
Ed
-------------- next part --------------
[root at modano pyxmlsec-0.2.1]# ./setup.py
Choose an action :
1. Build
2. Install
3. Clean
4. Exit
Your choice : 1
Choose a crypto engine :
1. OpenSSL
2. GnuTLS
3. NSS
Your choice : 1
running build
running build_py
creating build
creating build/lib.linux-i686-2.2
copying xmlsec.py -> build/lib.linux-i686-2.2
copying xmlsec_strings.py -> build/lib.linux-i686-2.2
running build_ext
building 'xmlsecmod' extension
creating build/temp.linux-i686-2.2
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c utils.c -o build/temp.linux-i686-2.2/utils.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c wrap_objs.c -o build/temp.linux-i686-2.2/wrap_objs.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c app.c -o build/temp.linux-i686-2.2/app.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c base64.c -o build/temp.linux-i686-2.2/base64.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c buffer.c -o build/temp.linux-i686-2.2/buffer.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c errors.c -o build/temp.linux-i686-2.2/errors.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c keyinfo.c -o build/temp.linux-i686-2.2/keyinfo.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c keys.c -o build/temp.linux-i686-2.2/keys.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c keysdata.c -o build/temp.linux-i686-2.2/keysdata.o
keysdata.c: In function `keysdata_KeyDataIdCreate':
keysdata.c:850: warning: assignment from incompatible pointer type
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c keysmngr.c -o build/temp.linux-i686-2.2/keysmngr.o
keysmngr.c: In function `keysmngr_KeyStoreIdCreate':
keysmngr.c:463: warning: assignment from incompatible pointer type
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c list.c -o build/temp.linux-i686-2.2/list.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c membuf.c -o build/temp.linux-i686-2.2/membuf.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c nodeset.c -o build/temp.linux-i686-2.2/nodeset.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c parser.c -o build/temp.linux-i686-2.2/parser.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c templates.c -o build/temp.linux-i686-2.2/templates.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c transforms.c -o build/temp.linux-i686-2.2/transforms.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c version.c -o build/temp.linux-i686-2.2/version.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c xmldsig.c -o build/temp.linux-i686-2.2/xmldsig.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c xmlenc.c -o build/temp.linux-i686-2.2/xmlenc.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c xmlsec.c -o build/temp.linux-i686-2.2/xmlsec.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c xmltree.c -o build/temp.linux-i686-2.2/xmltree.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c x509.c -o build/temp.linux-i686-2.2/x509.o
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -DXMLSEC_CRYPTO=openssl -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/kerberos/include -I/usr/include/python2.2 -c xmlsecmod.c -o build/temp.linux-i686-2.2/xmlsecmod.o
gcc -shared build/temp.linux-i686-2.2/utils.o build/temp.linux-i686-2.2/wrap_objs.o build/temp.linux-i686-2.2/app.o build/temp.linux-i686-2.2/base64.o build/temp.linux-i686-2.2/buffer.o build/temp.linux-i686-2.2/errors.o build/temp.linux-i686-2.2/keyinfo.o build/temp.linux-i686-2.2/keys.o build/temp.linux-i686-2.2/keysdata.o build/temp.linux-i686-2.2/keysmngr.o build/temp.linux-i686-2.2/list.o build/temp.linux-i686-2.2/membuf.o build/temp.linux-i686-2.2/nodeset.o build/temp.linux-i686-2.2/parser.o build/temp.linux-i686-2.2/templates.o build/temp.linux-i686-2.2/transforms.o build/temp.linux-i686-2.2/version.o build/temp.linux-i686-2.2/xmldsig.o build/temp.linux-i686-2.2/xmlenc.o build/temp.linux-i686-2.2/xmlsec.o build/temp.linux-i686-2.2/xmltree.o build/temp.linux-i686-2.2/x509.o build/temp.linux-i686-2.2/xmlsecmod.o -L/usr/kerberos/lib -lxml2 -lz -lm -lxmlsec1-openssl -lxmlsec1 -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lxslt -o build/lib.linux-i686-2.2/xmlsecmod.so
[root at modano pyxmlsec-0.2.1]# ./setup.py
Choose an action :
1. Build
2. Install
3. Clean
4. Exit
Your choice : 2
running install
running build
running build_py
not copying xmlsec.py (output up-to-date)
not copying xmlsec_strings.py (output up-to-date)
running build_ext
skipping 'xmlsecmod' extension (up-to-date)
running install_lib
copying build/lib.linux-i686-2.2/xmlsec.py -> /usr/lib/python2.2/site-packages
copying build/lib.linux-i686-2.2/xmlsec_strings.py -> /usr/lib/python2.2/site-packages
copying build/lib.linux-i686-2.2/xmlsecmod.so -> /usr/lib/python2.2/site-packages
byte-compiling /usr/lib/python2.2/site-packages/xmlsec.py to xmlsec.pyc
byte-compiling /usr/lib/python2.2/site-packages/xmlsec_strings.py to xmlsec_strings.pyc
[root at modano pyxmlsec-0.2.1]#
More information about the xmlsec
mailing list