You are not logged in.

#1 2008-11-18 17:41:06

VuDu
Member
Registered: 2007-05-11
Posts: 95

Problem with libcrypto/openssl

Hi!

I'm trying to compile a test application (little C program) that requires a lib from this other application(pteidgui): http://www.cartaodecidadao.pt/index.php … 44&lang=pt
That application reads info from a smart card (in this case the national portuguese citizen card) and it runs fine from (at least) Ubuntu, but not on Arch.

Running the pteidgui gives this warnings:

$ /usr/local/bin/pteidgui 
/usr/local/bin/pteidgui: /usr/lib/libcrypto.so.0.9.8: no version information available (required by /usr/local/bin/pteidgui)
/usr/local/bin/pteidgui: /usr/lib/libcrypto.so.0.9.8: no version information available (required by /usr/local/lib/libpteid.so.1)

and when trying to compile the test application it gives tons of errors:

...
/usr/local/lib/libpteid.so: undefined reference to `X509_STORE_add_crl@OPENSSL_0.9.8'
/usr/local/lib/libpteidpkcs11.so: undefined reference to `EVP_DigestInit@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `X509_STORE_CTX_new@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `SHA1_Init@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `RSA_public_decrypt@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `BN_CTX_new@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `PKCS7_get_signed_attribute@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `OBJ_create@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `EVP_PKEY_get1_RSA@OPENSSL_0.9.8'
/usr/local/lib/libpteidpkcs11.so: undefined reference to `EVP_md5@OPENSSL_0.9.8'
/usr/local/lib/libpteid.so: undefined reference to `DES_set_key_unchecked@OPENSSL_0.9.8'
/usr/local/lib/libpteidpkcs11.so: undefined reference to `EVP_MD_CTX_md@OPENSSL_0.9.8'
collect2: ld returned 1 exit status
make: *** [cctest] Error 1

Do you have any idea of where the problem might be and why it works ok on other distros?

Offline

#2 2008-11-18 18:47:23

string
Member
Registered: 2008-11-03
Posts: 286

Re: Problem with libcrypto/openssl

I belive this: http://lists.alioth.debian.org/pipermai … 01020.html might be of service (Google is your friend, btw)

Offline

#3 2008-11-19 00:21:41

VuDu
Member
Registered: 2007-05-11
Posts: 95

Re: Problem with libcrypto/openssl

Hi,
thanks for you reply.

If it's as simple as a configure line and as stupid as the debian folks say, why wasn't it added on Arch too? cool
KISS right? wink

Offline

#4 2008-11-19 09:55:52

string
Member
Registered: 2008-11-03
Posts: 286

Re: Problem with libcrypto/openssl

Just because something is easy to accomplish it does not mean that something should be done in Arch Linux. You know You need that feature, who's to say you're not alone / one of few?

Offline

#5 2008-11-19 11:14:03

VuDu
Member
Registered: 2007-05-11
Posts: 95

Re: Problem with libcrypto/openssl

I'm not talking about the feature itself, I'm talking about what the debian folks said about ruining the whole system with a simple update:

http://rt.openssl.org/Ticket/Display.ht … pass=guest

Hi folks,

openssl has evolved to a very important library in Linux distribution. A
lot of cryptographic applications link to it including system libraries
like pam modules and apache modules. Now it becomes more and more
difficult to get all the binaries and libraries to link to the same
version of openssl.
This leads to situations where an application uses
some libraries where on links to openssl 0.9.7 and another one to
version 0.9.8. Since the symbols of the libraries are not yet versioned
this leads to severe segfaults.

Offline

Board footer

Powered by FluxBB