[uClinux-dev] Directory lib/libssl does not exist!?
David McCullough
David_Mccullough at securecomputing.com
Wed Nov 21 18:33:11 EST 2007
Jivin Joakim Wennergren lays it down ...
> This is maybe a stupid question, but in my snapgear (3.5.0) directory I
> don't have a 'lib/libssl' directory... How do I get it?
>
> I've configured libssl to compile (through 'make menuconfig'), checked
> that the CONFIG_LIB_LIBSSL_FORCE is set, but that doesn't create the
> directory or the files...
>
> Do I have to add it manually or something?
>
> The problem with that happens later, when a user app compiles and gets a
> 'cannot find -lssl' error...
For several reasons, libssl is not included in the dist. You need to
patch it in yourself.
Get a copy of openssl-0.9.8e, then do this:
cd uClinux-dist/lib
tar xvzf openssl-0.9.8e.tar.gz
mv openssl-0.9.8e libssl
cd libssl
gunzip < openssl-0.9.8e-uclinux.patch.gz | patch -p0
There are some older instructions in the uCdot.org FAQ section as well
that may help with anything I have left out above.
The patch attached here is updated semi regularly in releases of
ocf-linux, http://ocf-linux.sourceforge.net/ check the downloads
section. Keep an eye out there if you want to stay up tp date,
Cheers,
Davidm
--
David McCullough, david_mccullough at securecomputing.com, Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssl-0.9.8e-uclinux.patch.gz
Type: application/octet-stream
Size: 10372 bytes
Desc: not available
Url : http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20071122/974353f0/openssl-0.9.8e-uclinux.patch-0001.obj
More information about the uClinux-dev
mailing list