Hi
I'm getting
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
When I run
ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o
after running
gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c
I'm... (6 Replies)
I need to load a dynamic library from a statically linked program. Is there a way without recompiling my program.
when i try to do that my program just crashes.
If not possible, how can I avoid crashing the program when i try to load the dynamic lib, again without recompiling.
If my... (1 Reply)
how can i do static compilation in cc and -lldap
i have system defined and user defined header file.
Can any one suggest any site where from i can get some information about static and dynamic compilation.
Thankx (1 Reply)
I use Solaris 10, compiling with a custom g++ (3.4.6) and GNU binutils (2.17). Things have gone well on two different systems, but when I tried moving to a third, it all fell over. Basically, it is now using the CC linker, but I need to use options not available to it. I believe I have found the... (0 Replies)
I am attempting to port a program from OS X to Linux. It's C++ & Qt Creator and I did the original Windows to OS X port, so I tried to make it as POSIX-compliant as possible; the OS X port works well, and the Linux port builds and starts (it's on Ubuntu 9.10) but has some issues running.
The... (2 Replies)
Hi Can anyone tell me the use of libcrypto.so.0.9.7 ? I know it is used for SSH. Also is there a way to look into the content of these jars?
Also is there a way to uncompress the same?
i tried
# uncompress libcrypto.so.0.9.7
libcrypto.so.0.9.7.Z: No such file or directory
# jar xvf... (6 Replies)
Hi,
I've installed curl with all despondency but when I try to start it I get:
root@xxx> curl
ld.so.1: curl: fatal: libcrypto.so.1.0.0: open failed: No such file or directory
Killed
Looks like I have to change/make symlinks but I don't know how/where.
Any idia?
---------- Post... (3 Replies)
I want to create a shared lib with certain libs statically linked to it. I can generate a fully shared lib as follows:
gcc -maix64 -DHAVE_CONFIG_H -I. -I./src -DHAVE_OPENSSL -I/usr/include/openssl -I/usr/include -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/usr/java8_64/include -shared -o... (0 Replies)
Discussion started by: amandeepgautam
0 Replies
LEARN ABOUT NETBSD
x509_verify_cert
X509_verify_cert(3) OpenSSL X509_verify_cert(3)NAME
X509_verify_cert - discover and verify X509 certificte chain
LIBRARY
libcrypto, -lcrypto
SYNOPSIS
#include <openssl/x509.h>
int X509_verify_cert(X509_STORE_CTX *ctx);
DESCRIPTION
The X509_verify_cert() function attempts to discover and validate a certificate chain based on parameters in ctx. A complete description of
the process is contained in the openssl_verify(1) manual page.
RETURN VALUES
If a complete chain can be built and validated this function returns 1, otherwise it return zero, in exceptional circumstances it can also
return a negative code.
If the function fails additional error information can be obtained by examining ctx using, for example X509_STORE_CTX_get_error().
NOTES
Applications rarely call this function directly but it is used by OpenSSL internally for certificate validation, in both the S/MIME and
SSL/TLS code.
The negative return value from X509_verify_cert() can only occur if no certificate is set in ctx (due to a programming error) or if a retry
operation is requested during internal lookups (which never happens with standard lookup methods). It is however recommended that
application check for <= 0 return value on error.
BUGS
This function uses the header x509.h as opposed to most chain verification functiosn which use x509_vfy.h.
SEE ALSO X509_STORE_CTX_get_error(3)HISTORY
X509_verify_cert() is available in all versions of SSLeay and OpenSSL.
1.0.1i 2009-12-27 X509_verify_cert(3)