LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2009, 04:05 AM   #1
teemone
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
XMLSec installation problem


Hi

I am a newbie trying to install XMLSec on my server. I have CentOS 5 with OpenSSL 0.9.8b. I downloaded xmlsec1-1.0.3-1.i386.rpm from www.aleksey.com/xmlsec/download.html. While doing rpm -Uvh xmlsec1-1.0.3-1.i386.rpm I get the following error message.

error: Failed dependencies:
libcrypto.so.4 is needed by xmlsec1-1.0.3-1.i386
libxml2.so.2 is needed by xmlsec1-1.0.3-1.i386
libxslt.so.1 is needed by xmlsec1-1.0.3-1.i386

I also downloaded RPM's for libxml2 and libxslt from ftp://xmlsoft.org/libxslt/ but each package give further errors

rpm -Uvh libxml2-2.7.3-1.x86_64.rpm

warning: libxml2-2.7.3-1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
libxml2 = 2.6.26 is needed by (installed) libxml2-python-2.6.26-2.1.2.7.x86_64

and

rpm -Uvh libxslt-1.1.20-1.i386.rpm

warning: libxslt-1.1.20-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
libgcrypt.so.11 is needed by libxslt-1.1.20-1.i386
libgcrypt.so.11(GCRYPT_1.2) is needed by libxslt-1.1.20-1.i386
libgpg-error.so.0 is needed by libxslt-1.1.20-1.i386
libxml2 >= 2.6.27 is needed by libxslt-1.1.20-1.i386
libxml2.so.2 is needed by libxslt-1.1.20-1.i386

Any help with solving this will be greatly appreciated.
 
Old 06-24-2009, 02:19 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Installing rpms from random sites will nearly always have dependency issues. That's why Redhat (& thus centos) provide the yum tool which goes to their own repo and installs the reqd pkg along with automatically taking care of dependencies.
If you want/need something that you are sure you can't get from the official repo, try the EPEL repo first. http://fedoraproject.org/wiki/EPEL/FAQ
Otherwise, you will have to research the dependencies, then issue the rpm cmd with all the rpms on one line/cmd.
 
Old 10-15-2009, 01:50 AM   #3
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
I have a problem when compile xmlsec from source code.
./configure OK but I get following error when typing 'make':
Code:
...
make[2]: Entering directory `/mnt/data/linux/packages/source/xmlsec1-1.2.13/apps'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o xmlsec1   xmlsec.o crypto.o cmdline.o  ../src/libxmlsec1.la   -L/usr/local/lib -lxslt -lz -lm -lxml2   -L/usr/local/lib -lxml2   -ldl  
gcc -g -O2 -o .libs/xmlsec1 xmlsec.o crypto.o cmdline.o  ../src/.libs/libxmlsec1.so -L/usr/local/lib /usr/local/lib/libxslt.so /usr/lib/libxml2.so /usr/local/lib/libxml2.so -lz -lm -ldl -Wl,--rpath -Wl,/usr/local/lib
../src/.libs/libxmlsec1.so: undefined reference to `xmlEncodeSpecialChars@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathFreeContext@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlMalloc@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrchr@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFileRead@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOFTPOpen@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlParseChunk@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOFTPRead@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlRealloc@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathRegisterNs@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOHTTPMatch@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlSaveFormatFile@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlSetTreeDoc@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathNodeSetContains@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlAddPrevSibling@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlSetProp@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOFTPClose@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlCreateFileParserCtxt@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPtrEval@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlParseFile@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathErr@LIBXML2_2.6.0'
../src/.libs/libxmlsec1.so: undefined reference to `xmlDocSetRootElement@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPtrNewContext@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewText@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlOutputBufferClose@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOHTTPClose@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeDumpOutput@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathRegisterFunc@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrPrintf@LIBXML2_2.6.0'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrndup@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlSearchNs@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewDocNode@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeSetLang@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNanoFTPInit@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrVPrintf@LIBXML2_2.6.2'
../src/.libs/libxmlsec1.so: undefined reference to `xmlC14NExecute@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeAddContent@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlGetID@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlRecoverMemory@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFileMatch@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrdup@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlBufferFree@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOHTTPRead@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlUnlinkNode@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewChild@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlParseInNodeContext@LIBXML2_2.6.12'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFreeNode@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlDocGetRootElement@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlParseMemory@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlBufferLength@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathNewContext@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewNode@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlSetNs@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlParserInputBufferCreateIO@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeSetContent@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlParseDocument@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathFreeNodeSet@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlCreatePushParserCtxt@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFileOpen@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlAddID@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewNs@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewParserCtxt@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOHTTPOpen@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlInitParser@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlURIUnescapeString@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFree@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathEvalExpression@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlOutputBufferWriteString@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrlen@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewDoc@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlAddChild@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlCreateMemoryParserCtxt@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlOutputBufferCreateIO@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathNodeSetCreate@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `inputPush@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrEqual@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `valuePush@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNanoFTPCleanup@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFreeParserCtxt@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathNodeSetAdd@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlSearchNsByHref@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlReplaceNode@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeSetContentLen@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlBufferCreate@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFreeNodeList@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeDump@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFreeParserInputBuffer@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlBufferContent@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathNsLookup@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlGetProp@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlParserGetDirectory@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlIOFTPMatch@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathFreeObject@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrncmp@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFileClose@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeListGetString@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNodeGetContent@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlStrcmp@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNanoHTTPInit@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlFreeDoc@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNanoHTTPCleanup@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlNewIOInputStream@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlAddNextSibling@LIBXML2_2.4.30'
../src/.libs/libxmlsec1.so: undefined reference to `xmlXPathNewNodeSet@LIBXML2_2.4.30'
collect2: ld returned 1 exit status
make[2]: *** [xmlsec1] Error 1
make[2]: Leaving directory `/mnt/data/linux/packages/source/xmlsec1-1.2.13/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/data/linux/packages/source/xmlsec1-1.2.13'
make: *** [all] Error 2
Anyone has experience with it?

I get a public key with follow content:
Code:
<RSAKeyValue>
  <Modulus>AI8j6YuXkwJHkdg1xYyPhfcxRWfl7YEFgGP/X1Vu/haKnvyrKEkWoj8n7VfWVXPqYNQO6fjtOTC6lVtpwby8Wesg/Vy8xRtmCfiZHrid6IdA8VHWMJxTaMg2mOV36/ZejMvDLlOP27EGhSUxARCFFi/zpMEP/CgsT022ju8+4cnp</Modulus>
  <Exponent>EQ==</Exponent>
  <P>AMiXed3bWZ46i5IMPm5WsCr6akk11FBKBxiiq7GFqfXtNOFDuxUTq7n1ewlKbJ1kHS3VwjThvJ78hsu0WC3K9t0=</P>
  <Q>ALat2aYM/dFTW3m2vjNyfD1hq7JCcKaTTJByNQbsj+SFuRZ9RcPslv6+6FsdMoDphY5SsYpCPlac9k96dQBQQH0=</Q>
  <DP>Upi5tbSsblRXln2DHl/uL9CGHiU5TjyZgp1VwZFkGfhC81gf24CSAUb2bTzDT93t5bJfBrdNquBzvUpCbTV0tQ==</DP>
  <DQ>YLZkKruVbtHHBDOR3wBf5ELET1BZwZlGptMNA6pqS85S7cnZo/W5WbBc5PFW+PQZh5Uw0LmoiDT63shcDzmLjQ==</DQ>
  <InverseQ>AKepHf/HMuS2zc0iNkq5SfSR1k2UX83CmcOmKRxiwARzABb1Ka769HxthqtdW4/wQhUayvO+Xe0uMdiS4adIW54=</InverseQ>
  <D>KhmfCvBYahUMxx7fv+36OaUUado2y5g00h3u3ORo2XQQpKrPnQaoMLFj7KhzfHIcepr5hXLys/qkZi4p7DdlvS+Qey7XhO4kfaIL6/7cC6kc1V5ydAwpBCmfTLDJc65h9fCJkMxep/jE7bSlmdLvsRBRvGMSZ6at8g+Uvrmj0ME=</D>
</RSAKeyValue>
After Googling, I guess it is generated from xmlsec. Try to install and I get above error.

Any help will be greatly appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE installation problem - can only select A series packages for installation Nylex Slackware 4 08-19-2010 02:15 PM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 07:40 AM
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 10:32 PM
LiLo Installation problem ?and (GNOME and KDE problem) hitesh_linux Linux - Software 1 01-01-2002 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration