[xmlsec] Configuring with openssl

Dmitry Belyavsky beldmit at cryptocom.ru
Thu Jan 19 01:13:27 PST 2006


Greetings!

On Wed, 18 Jan 2006, Aleksey Sanin wrote:

> >
> > > 1) xmlsec is looking in the lib/ folder because this is
> > > how openssl is usually installed. If you build openssl from
> > > sources, then you have to do 'make install' to make it work.
> >
> > It seems a very bad idea to me. Our company is implementing a huge patch
> > to openssl and it's impossible to install openssl. So it seems to be
> > useful to use this patch...
> Well, what I usually do is the following:
> 1) Configure/compile/install openssl with "--prefix=$HOME/local"
> 2) Configure/compile/install xmlsec with "--openssl-dir=$HOME/local"
> 3) Setup LD_LIBRARY_PATH to include $HOME/local/lib

I like my patch to ./configure more than this idea :-).


> > The other question is:
> >
> > I want to debug xmlsec using gdb. What should I add to LD_LIBRARY_PATH
> > to get the same result as ./apps/xmlsec1 (wrapper script) gets? Now I
> > set LD_LIBRARY_PATH to ./src/.libs;./src/openssl/.libs but it seems to
> > be not enough...
> I believe you also need to add ./src/openssl/.libs/

As I've written, I specify it. But it's not enough.

-- 
SY, Dmitry Belyavsky (ICQ UIN 11116575)




More information about the xmlsec mailing list