httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Poeml <>
Subject Re: How can i decrypt a cookie in a module
Date Tue, 28 Oct 2008 23:17:09 GMT
Hi Christian,

On Tue, Oct 28, 2008 at 02:45:05PM +0100, Christian Klinger wrote:
> now i have the -lssl and -lcrypt in the gcc command but i alwas get  
> the same error again.

With the same error, you mean the same symbol is still missing when you
run Apache and use the modules functionality?

> make
> Libraries have been installed in:
>    /opt/apache/server/modules

The output of your make command looks fine anyway.

> I have added the LoadFile with all possibilitys of libcrypto

Just to not be misunderstood: You need only one of the two means -
either linking to all needed libraries, and letting the runtime linker
do the work -- or use the LoadFile directive to take care.

> I´ve included all versions of the libcrypto lib.
> LoadFile /usr/lib/
> LoadFile /usr/lib/
> LoadFile /usr/lib/libcrypto

Btw, doing this with different version of a library is maybe not a good
idea, because their symbols could clash.

> but with no success....
> Any Ideas left....
> Christian

On Tue, Oct 28, 2008 at 03:40:12PM +0100, Christian Klinger wrote:
> Hi again,
> ldd
> =>  (0xffffe000)
> => /usr/lib/ (0xb7f6f000)
> => /usr/lib/ (0xb7e29000)
> => /lib/ (0xb7cf6000)
> => /lib/ (0xb7cf2000)
> => /lib/ (0xb7cde000)
> 	/lib/ (0x80000000)
> is this ok? Or do I need something special for blowfish.h?

You could check if your libcrypto actually contains the symbol you were
missing -- after all it might be possible that your OpenSSL is compiled
without blowfish support? Does
strings /usr/lib/ | grep BF_Decrypt
print something?

If all else fails, check if you have some kind of mess from previous
build attempts which causes Apache to load other objects than you might
think. lsof -p $pid_of_parent_apache_proxy can be a valuable tool to
double check.

Contact: (a.k.a.
         #opensuse-mirrors on
SUSE LINUX Products GmbH
Research & Development

View raw message