Hi, Sorry for the trouble I am causing you. I tried GDB but unable to know the problem of this failure. Does I need to include -lxmlsec1 or -lxmlsec1-openssl for openssl library. Currently xmlsec1-config file giving me -lxmlsec1.
Thanks. Regards, Umesh On Wed, 2007-05-30 at 10:56 +0530, Umesh Chandak wrote: > I tried GDB. Where should my LD_LIBRARY_PATH should point. > > Umesh > On Tue, 2007-05-29 at 22:12 -0700, Aleksey Sanin wrote: > > gdb > > > > Aleksey > > > > Umesh Chandak wrote: > > > Now I am able to install succesfully without any error. > > > also I tried to ran sign1 as > > > ./sign1 sign1-tmpl.xml rsakey.pem > > > but I got the error > > > Error: crypto initialization failed. > > > then I ran > > > ldd sign1 whose output is ... > > > linux-gate.so.1 => (0xffffe000) > > > libdl.so.2 => /lib/libdl.so.2 (0x4bc27000) > > > libxmlsec1.so.1 => /usr/lib/libxmlsec1.so.1 (0x4b25b000) > > > libxslt.so.1 => /usr/lib/libxslt.so.1 (0x4d17b000) > > > libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4cc83000) > > > libz.so.1 => /usr/lib/libz.so.1 (0x4bc2d000) > > > libm.so.6 => /lib/libm.so.6 (0x4bc00000) > > > libc.so.6 => /lib/libc.so.6 (0x4bacb000) > > > /lib/ld-linux.so.2 (0x4b23e000) > > > > > > > > > thanks. > > > Regards, > > > Umesh > > > On Tue, 2007-05-29 at 21:58 -0700, Aleksey Sanin wrote: > > >> Yes, you need to install openssl. You might also want to > > >> read the tutorial on xmlsec website. > > >> > > >> Aleksey > > >> > > >> Umesh Chandak wrote: > > >>> I tried the same . Can you also tell me which parameters to give > > >>> to ./config file. Does I need to install open-ssl on FC5 . > > >>> > > >>> Umesh > > >>> On Tue, 2007-05-29 at 21:50 -0700, Aleksey Sanin wrote: > > >>>> $ make > > >>>> $ make install > > >>>> $ cd examples > > >>>> $ make > > >>>> > > >>>> Aleksey > > >>>> > > >>>> Umesh Chandak wrote: > > >>>>> My xmlsec1-config script worked fine but I am still getiing the same > > >>>>> error. Can you please tell me #error is which preprocessor directive. > > >>>>> Also can you give the steps for installation if possible for you > > >>>>> because > > >>>>> I tried various ways but I am not getting success. > > >>>>> > > >>>>> Thanks. > > >>>>> Regards, > > >>>>> Umesh > > >>>>> > > >>>>> On Tue, 2007-05-29 at 21:44 -0700, Aleksey Sanin wrote: > > >>>>>> --crypto=openssl > > >>>>>> > > >>>>>> Aleksey > > >>>>>> > > >>>>>> Umesh Chandak wrote: > > >>>>>>> Now I tried to use xmlsec-config like as follows but it gives me > > >>>>>>> error > > >>>>>>> bash xmlsec1-config --prefix=$XMLSECCROOT > > >>>>>>> --crypto=/usr/local/ssl/lib/libcrypto.a > > >>>>>>> Error: the "/usr/local/ssl/lib/libcrypto.a" cryptographic library > > >>>>>>> is not > > >>>>>>> supported > > >>>>>>> > > >>>>>>> I think there is some problem in installation of openssl . > > >>>>>>> > > >>>>>>> Thanks. > > >>>>>>> Regards, > > >>>>>>> Umesh > > >>>>>>> > > >>>>>>> On Tue, 2007-05-29 at 21:26 -0700, Aleksey Sanin wrote: > > >>>>>>>> You should not set flags manually! Check this > > >>>>>>>> page for instructions > > >>>>>>>> > > >>>>>>>> http://www.aleksey.com/xmlsec/api/xmlsec-notes-compiling-unix.html > > >>>>>>>> > > >>>>>>>> Aleksey > > >>>>>>>> > > >>>>>>>> Umesh Chandak wrote: > > >>>>>>>>> Hi, > > >>>>>>>>> I still getting the same error even after runnig the make check. > > >>>>>>>>> Also > > >>>>>>>>> can you tell me #error is which type of directice which is giving > > >>>>>>>>> me > > >>>>>>>>> problem. I am not able to run ldd sign1 because I am getting that > > >>>>>>>>> error > > >>>>>>>>> at compile time only. > > >>>>>>>>> > > >>>>>>>>> gcc -g -DUNIX_SOCKETS -o sign1 sign1.c > > >>>>>>>>> -I/home/umeshc/XML-firewall/quicktree_1_0_0_drop2/trunk/src/libxml2/libxml2-2.6.26/libxml2-2.6.26-Linux-2.6.15.1/include/libxml2 > > >>>>>>>>> -I/data/xmlsec1-1.2.10/INSTALL-XMLSEC//include/xmlsec1 -Iinclude > > >>>>>>>>> -I. -I/data/openssl-0.9.8e/include > > >>>>>>>>> -L/data/xmlsec1-1.2.10/INSTALL-XMLSEC//lib -lxmlsec1-openssl > > >>>>>>>>> In file included from sign1.c:35: > > >>>>>>>>> /data/xmlsec1-1.2.10/INSTALL-XMLSEC//include/xmlsec1/xmlsec/crypto.h:54:2: > > >>>>>>>>> error: #error No crypto library defined > > >>>>>>>>> sign1.c: In function ‘sign_file’: > > >>>>>>>>> sign1.c:159: warning: assignment makes pointer from integer > > >>>>>>>>> without a > > >>>>>>>>> cast > > >>>>>>>>> make: *** [sign1] Error 1 > > >>>>>>>>> > > >>>>>>>>> Thanks. > > >>>>>>>>> Regards, > > >>>>>>>>> Umesh > > >>>>>>>>> > > >>>>>>>>> On Tue, 2007-05-29 at 21:20 -0700, Aleksey Sanin wrote: > > >>>>>>>>>> Run 'ldd sign1' or 'ldd xmlsec1' > > >>>>>>>>>> > > >>>>>>>>>> Aleksey > > >>>>>>>>>> > > >>>>>>>>>> Umesh Chandak wrote: > > >>>>>>>>>>> My LD_LIBRARY_PATH is set as export > > >>>>>>>>>>> LD_LIBRARY_PATh=$LD_LIBRARY_PATH: > > >>>>>>>>>>> $XMLSECCROOT/lib > > >>>>>>>>>>> > > >>>>>>>>>>> Umesh > > >>>>>>>>>>> On Tue, 2007-05-29 at 21:16 -0700, Aleksey Sanin wrote: > > >>>>>>>>>>>>> I am using FC5 with kernel 2.6.15.1 > > >>>>>>>>>>>> You might have xmlsec installed with OS. Make sure you > > >>>>>>>>>>>> have correct LD_LIBRARY_PATH set. > > >>>>>>>>>>>> > > >>>>>>>>>>>> Aleksey > > >>>>>>>>>>>> > > >>>>>>>>>>>> > > >>>>>>>>>>>> > > >>>>>>>>>>> _______________________________________________ > > >>>>>>>>>>> xmlsec mailing list > > >>>>>>>>>>> [email protected] > > >>>>>>>>>>> http://www.aleksey.com/mailman/listinfo/xmlsec > > >>>>> _______________________________________________ > > >>>>> xmlsec mailing list > > >>>>> [email protected] > > >>>>> http://www.aleksey.com/mailman/listinfo/xmlsec > > >>> _______________________________________________ > > >>> xmlsec mailing list > > >>> [email protected] > > >>> http://www.aleksey.com/mailman/listinfo/xmlsec > > > > > > _______________________________________________ > > > xmlsec mailing list > > > [email protected] > > > http://www.aleksey.com/mailman/listinfo/xmlsec > > > > _______________________________________________ > xmlsec mailing list > [email protected] > http://www.aleksey.com/mailman/listinfo/xmlsec > -- Umesh Chandak <[EMAIL PROTECTED]> _______________________________________________ xmlsec mailing list [email protected] http://www.aleksey.com/mailman/listinfo/xmlsec
