> From: owner-openssl-us...@openssl.org On Behalf Of .uservorname .usernachname > Sent: Saturday, 06 April, 2013 05:52
> Thanks for your help. I tried to compile the testprogram with > "gcc ssl_accept.c -o sslaccept -lssl -lcrypto -L/usr/lib" > When executing ./sslaccept I get ./sslaccept: error while > loading shared libraries: /usr/lib/libcrypto.so.1.0.0: > undefined symbol: H, version efault_method > Something is badly glitched. You shouldn't have symbols with those names related to that library, defined or undefined. If you do ldd on that libcrypto file what does it show? If you do file on it, does it show the right type of object for your system? What about libssl? How/where did you get that libcrypto and libssl? >From a vendor or 3rd-party prebuilt package for your OS, or did you or someone build it yourself? If so, on the same system, or a different or cross system, with what config options? Are you sure the files haven't been modified since? Do you have a good reference copy you can compare to, or hashes (like md5sum) you can check? Do you also have openssl commandline installed from the same package or build, probably /usr/bin/openssl ? Does ldd of that executable use the same sharedlibs? If you run that executable to do s_server (with suitable arguments) does it start, and if so can you connect to it with commandline s_client (or anything else handy)? > The shared libarieĀ /usr/lib/libcrypto.so.1.0.0 exists. > Something other may be broken? > > The sslaccept test programm will be executed when I use > ./configure to compile some software which is testing if > openssl is installed. So I'm not able to change the source of > sslaccept. > That's an odd way to check for presence. Usually autofigs check if a header file is present, and maybe if certain routine(s) or type(s) are declared in a header, but I don't see what running a program containing SSL_accept accomplishes, especially since you need some other SSL-aware program to connect to it before the SSL_accept can actually execute. Can you say what software this is or does it give any reason for this rather arcane -- and perhaps broken -- test? ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org