Bug 55102 - unresolved symbols with openssl 0.9.7 PKCS7_content_free OpenSSL_add_all_algorithms
Summary: unresolved symbols with openssl 0.9.7 PKCS7_content_free OpenSSL_add_all_algo...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: kssl (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: George Staikos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-24 09:22 UTC by jeremyhu
Modified: 2006-01-19 19:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeremyhu 2003-02-24 09:22:04 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.1 
OS:          Linux

I am receiving the following messages:
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde-3/lib/libkdecore.so.4: undefined symbol: PKCS7_content_free
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde-3/lib/libkdecore.so.4: undefined symbol: OpenSSL_add_all_algorithms

It appears that these symbols are in the libcrypto that comes with OpenSSL 0.9.6, but not with 0.9.7.  

The references are due to '_cryptoLib->symbol()' calls in kdelibs/kio/kssl/kopenssl.cc
Comment 1 George Staikos 2003-02-24 18:36:24 UTC
Subject: Re:  New: unresolved symbols with openssl 0.9.7 PKCS7_content_free OpenSSL_add_all_algorithms

Thanks for the report.  It looks like these symbols are gone and no longer 
necessary.  However I dont' want to remove them and break older OpenSSL 
versions, so I'm going to leave this as it is.

The OpenSSL_add_all_algorithms problem is -really- annoying.  They changed a 
symbol to a conditional #define in 0.9.7.  I am committing a fix to CVS right 
now.  It will still print that message, but it will not break.

Thanks again!

On Monday 24 February 2003 03:22, you wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=55102
>            Summary: unresolved symbols with openssl 0.9.7
> PKCS7_content_free OpenSSL_add_all_algorithms
>            Product: kio
>            Version: unspecified
>           Platform: Compiled Sources
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: NOR
>          Component: kssl
>         AssignedTo: staikos@kde.org
>         ReportedBy: jeremyhu@uclink4.berkeley.edu
>
>
> Version:            (using KDE KDE 3.1)
> Installed from:    Compiled From Sources
> Compiler:          gcc 3.2.1
> OS:          Linux
>
> I am receiving the following messages:
> kdecore (KLibLoader): WARNING: KLibrary: /opt/kde-3/lib/libkdecore.so.4:
> undefined symbol: PKCS7_content_free kdecore (KLibLoader): WARNING:
> KLibrary: /opt/kde-3/lib/libkdecore.so.4: undefined symbol:
> OpenSSL_add_all_algorithms
>
> It appears that these symbols are in the libcrypto that comes with OpenSSL
> 0.9.6, but not with 0.9.7.
>
> The references are due to '_cryptoLib->symbol()' calls in
> kdelibs/kio/kssl/kopenssl.cc

Comment 2 Dick Marinus 2005-08-17 09:53:53 UTC
Two and a half years later...

Could this now be removed? Maybe this should be detected by autoconf and disabled when not needed?
Comment 3 Ted 2006-01-14 17:53:01 UTC
Three years after marked resolved, this still happens?  Did the ssl library change again?  Has crashed on encrypted pages a few times and does get slow.   

compiler: gcc version 4.0.2 
openssl:  openssl-0.9.7i
version:  KDE 3.5

kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: PKCS7_content_free
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms_conf
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms_noconf
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: PKCS7_content_free
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms_conf
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7: undefined symbol: OpenSSL_add_all_algorithms_noconf
kio (KIOConnection): ERROR: Header read failed, errno=104
Comment 4 Thiago Macieira 2006-01-19 19:18:55 UTC
OpenSSL changes all the time.