chesterpolo / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

libssl & libcrypto: Wrong SONAME dlopened in linux builds #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
FYI

The issue reported on http://code.google.com/p/mongoose/issues/detail?id=143 is 
still there, and it may lead mongoose to running failures in Linux environments 
when using SSL. In order to package mongoose and ship it into linux RPMs I have 
to apply the attached patch to mongoose's 2.11 trunk before I run the following 
make sequence:

--- Mongoose's SPEC build section 
(http://aquini.fedorapeople.org/mongoose/mongoose.spec)
%build
# get dinamically the correct version to SSL shlib
LIBV=$(find '%{_libdir}' | grep -E '/libssl.so.[0-9]?[0-9]?$' | sed -e 
's!%{_libdir}/libssl.so.!!')

%{__make} %{?_smp_mflags} CFLAGS="%{optflags} -DSSL_LIB='\"libssl.so.${LIBV}\"' 
-DCRYPTO_LIB='\"libcrypto.so.${LIBV}\"'" linux

---

Please consider applying the attached patch to address this issue.

Thanks in advance for your attention.

Original issue reported on code.google.com by raaquini on 28 Sep 2010 at 9:20

Attachments:

GoogleCodeExporter commented 9 years ago
Applied, 
http://code.google.com/p/mongoose/source/detail?r=8b3a6d8c2674e90fb0dd63ee16e8f5
5f4de82b3b
Thank you.

Original comment by valenok on 29 Nov 2010 at 1:48