Fwd: Trying to Link Statically to Libcrypto

2011-07-20 Thread brandonshw
to learn. Brandon -Original Message- From: Amol Tambe amolta...@gmail.com To: brandonshw brandon...@aol.com Sent: Wed, Jul 20, 2011 3:35 am Subject: Re: Trying to Link Statically to Libcrypto Good to know all your problems were solved. What fixed the last one? Mind sharing

Re: Trying to Link Statically to Libcrypto

2011-07-20 Thread brandonshw
the configure-make-make install or rpm/deb echnique instead. I don't know how to write those and would have to learn. Brandon -Original Message- From: Amol Tambe amolta...@gmail.com To: brandonshw brandon...@aol.com Sent: Wed, Jul 20, 2011 3:35 am Subject: Re: Trying

Re: Trying to Link Statically to Libcrypto

2011-07-20 Thread brandonshw
He just isn't a Linux guy, and I didn't know enough to advise him. -Original Message- From: Andreas Mueller a...@othello.ch To: brandonshw brandon...@aol.com Sent: Wed, Jul 20, 2011 9:32 am Subject: Re: Fwd: Trying to Link Statically to Libcrypto Brandon, Quoting brandon...@aol.com

Re: Trying to Link Statically to Libcrypto

2011-07-20 Thread brandonshw
...@gmail.com To: brandonshw brandon...@aol.com Sent: Wed, Jul 20, 2011 3:35 am Subject: Re: Trying to Link Statically to Libcrypto Good to know all your problems were solved. What fixed the last one? Mind sharing the last link line that worked? It will even be worth posting that on the OpelSSL list so

Re: Trying to Link Statically to Libcrypto

2011-07-19 Thread brandonshw
Thanks for the lesson. Highly informative. -Original Message- From: Michael S. Zick open...@morethan.org To: openssl-users openssl-users@openssl.org Sent: Tue, Jul 19, 2011 7:30 am Subject: Re: Trying to Link Statically to Libcrypto On Tue July 19 2011, Albrecht Schlosser

Re: Trying to Link Statically to Libcrypto

2011-07-19 Thread brandonshw
Okay, it is acting like my /usr/lib/libssl.a is of no value. First, just for comparison, attempting to link with no reference to libssl at all: [root@linux Release]# g++ -oMy exe name my object file list /usr/lib/libcrypto.a /usr/lib/libldap.a /usr/lib/libxml2.a /usr/lib/liblber.a -lz -ldl

Re: Trying to Link Statically to Libcrypto

2011-07-19 Thread brandonshw
Thanks. I had eventually succeeded by fixing my list of object files. -Original Message- From: Albrecht Schlosser ml-...@go4more.de To: openssl-users openssl-users@openssl.org Sent: Tue, Jul 19, 2011 12:24 pm Subject: Re: Trying to Link Statically to Libcrypto On 19.07.2011

Re: Trying to Link Statically to Libcrypto

2011-07-19 Thread brandonshw
Thanks again. -Original Message- From: Michael S. Zick open...@morethan.org To: openssl-users openssl-users@openssl.org Sent: Tue, Jul 19, 2011 2:03 pm Subject: Re: Trying to Link Statically to Libcrypto On Sun July 17 2011, brandon...@aol.com wrote: Although I've been

Re: Trying to Link Statically to Libcrypto

2011-07-18 Thread brandonshw
- From: brandonshw brandon...@aol.com To: openssl-users openssl-users@openssl.org Sent: Sun, Jul 17, 2011 6:32 pm Subject: Re: Trying to Link Statically to Libcrypto Some incredibly helpful advice, which I appreciate very much. I'll apply it all tomorrow morning. It makes a lot of sense

Re: Trying to Link Statically to Libcrypto

2011-07-18 Thread brandonshw
/i586-redhat-linux/4.4.1/../../../libldap.a(gssapi.o): In function `gsserrstr.clone.0': (.text+0x72d): undefined reference to `gss_release_buffer' /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../libldap.a(gssapi.o): In function `gsserrstr.clone.0': -Original Message- From: brandonshw brandon

Re: Trying to Link Statically to Libcrypto

2011-07-17 Thread brandonshw
/../../../libldap.so: undefined reference to `RSA_generate_key' /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../libldap.so: undefined reference to `DH_generate_parameters' collect2: ld returned 1 exit status -Original Message- From: brandonshw brandon...@aol.com To: openssl-users openssl-users

Re: Trying to Link Statically to Libcrypto

2011-07-17 Thread brandonshw
/../../../libldap.so: undefined reference o `DH_generate_parameters' collect2: ld returned 1 exit status -Original Message- From: brandonshw brandon...@aol.com To: openssl-users openssl-users@openssl.org Sent: Sat, Jul 16, 2011 11:40 am Subject: Re: Trying to Link Statically

Re: Trying to Link Statically to Libcrypto

2011-07-17 Thread brandonshw
Although I've been programming on various platforms for quite awhile, I don't know much about the principles involved here - i.e. Linux or static vs dynamix linking. You are right, it is linking to libldap. What I am trying to do is remove all dependencies on libraries on the diverse target

Re: Trying to Link Statically to Libcrypto

2011-07-17 Thread brandonshw
Some incredibly helpful advice, which I appreciate very much. I'll apply it all tomorrow morning. It makes a lot of sense to find out that I've been putting the -static flag in the wrong place, because I had to develop scripts to temporarily hide shared libraries from the linker, whenever I

Trying to Link Statically to Libcrypto

2011-07-16 Thread brandonshw
Hi. I am writing some C++ on Linux with g++. When I try to link statically to libcrypto, by using the libcrypto.a library, it complains that RSA_generate_key and DH_generate_parameters are undefined references. Actually, I believe it said that openldap.so was complaining that they were

Re: Trying to Link Statically to Libcrypto

2011-07-16 Thread brandonshw
I am already linking in -lldap. Will -lopenldap work better? -Original Message- From: Jeffrey Walton noloa...@gmail.com To: openssl-users openssl-users@openssl.org Sent: Sat, Jul 16, 2011 3:06 am Subject: Re: Trying to Link Statically to Libcrypto On Sat, Jul 16, 2011 at 2:39 AM,

Re: Trying to Link Statically to Libcrypto

2011-07-16 Thread brandonshw
Thanks. This is some very useful information and more than I knew. When I get back to work on Monday, or possibly before if I go in for a few minutes, I will send the full g++ command I am using as well as the error messages.. -Original Message- From: Michael S. Zick