• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 448
  • Last Modified:

Two versions of openssl on one RHL server? C-kermit issue...

Hi all,

I have a server running Redhat Server 5 which comes standard with openssl version 0.9.8.  Migrating from an old debian box, I need to compile c-kermit with SSL support.  C-kermit only compiles properly with openssl 0.9.6 or 0.9.7, however.

My question is this: How can I get c-kermit compiled using 0.9.7 and have it run on my new server?  Could I have two versions of openssl, without nuking the myriad of programs dependent upon openssl 0.9.8?

Thanks in advance!
0
moops
Asked:
moops
1 Solution
 
NopiusCommented:
> My question is this: How can I get c-kermit compiled using 0.9.7 and have it run on my new server?  

Compile OpenSSL 0.9.7 and install it in a separate directory, say to /usr/local/c-kermit/include and /usr/local/c-kermit/lib
That's easy can done with configure "--prefix=/usr/local/c-kermit" option.

When compiling c-kermit, point compiler to that directory with either configure flags (like --with-openssl=/usr/local/c-kermit you must check, I'm not sure)  or with env variables (export them before compiling c-kermit):
CFLAGS="-I/usr/local/c-kermit/include"
LDFLAGS="-L/usr/local/c-kermit/lib -Wl,-rpath -Wl,/usr/local/c-kermit/lib"

Now, compiled c-kermit should depend on your local openssl library (check with ldd).

> Could I have two versions of openssl, without nuking the myriad of programs dependent upon openssl 0.9.8?

Yes you can. But install old openssl in a different from standard location.

Ask here if you have any problems.
0
 
Dave HoweCommented:
If you compile c-kermit as a "static library" compile, the binaries will include the ssl library *which was available at the time* and hence will be much larger; however, you will then not be dependent on library files on the same box being of compatable version.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now