Almost had another one of those memorable episodes where, in order to get program A to work, I've got to get packages F and G, but F requires P, Q, and R, while G needs U, V, and W before compilation will proceed without complaint. Yikes.
While kerouac is busy pushing electrons around to recompile Apache with PHP3 support (a feat in itself), I'm merely playing around with something called 'Pad', which lets the user split data files into a number of files whose contents are "indistinguishable from white noise."
Only problem is: you've got to have OpenSSL to use it. It helps to carefully read the change log to confirm this is the case, though the error that occurs while attempting to include an OpenSSL header stands as a grade-A prime hint that something is amiss.
Okay, so I figure it's time I got with the program and install OpenSSL. It's easy to get, and easy to compile and run. Fine. The test runs like a champ. Do a `make install' and we're home free.
Nope. I have to remember how to get the compiler to figure out where the OpenSSL include file is located. I go out and find the file and hand-code the path to the file into the pad source code. No biggie. Later, I undo the edit and change the Makefile to have gcc look for the file.
Compilation goes well; the link sucks. The error message tells me that `lcrypto' is not understood by ld. Hitting the gcc man page tells me that this means I'm actually looking for a library called libcrypto.a, which I find and whose directory is added to the gcc command line with -L. Then I change my mind about that and instead create symlinks from /usr/lib to where the install placed the libraries. Now, the linker can find the libraries, but...
Okay, so now...I'm getting the message: undefined reference to `RAND_bytes' in the function `main'. Whoopee. Break out the `nm' utility...hmmm, RAND_bytes is alive and well in the `libcrypto.a' library.
Meanwhile, I have the latest MySQL compiling on kerouac; that ought to take a while (heck, I might even wear out the CPU).
Gonna have to sleep on this.
Cheers...
While kerouac is busy pushing electrons around to recompile Apache with PHP3 support (a feat in itself), I'm merely playing around with something called 'Pad', which lets the user split data files into a number of files whose contents are "indistinguishable from white noise."
Only problem is: you've got to have OpenSSL to use it. It helps to carefully read the change log to confirm this is the case, though the error that occurs while attempting to include an OpenSSL header stands as a grade-A prime hint that something is amiss.
Okay, so I figure it's time I got with the program and install OpenSSL. It's easy to get, and easy to compile and run. Fine. The test runs like a champ. Do a `make install' and we're home free.
Nope. I have to remember how to get the compiler to figure out where the OpenSSL include file is located. I go out and find the file and hand-code the path to the file into the pad source code. No biggie. Later, I undo the edit and change the Makefile to have gcc look for the file.
Compilation goes well; the link sucks. The error message tells me that `lcrypto' is not understood by ld. Hitting the gcc man page tells me that this means I'm actually looking for a library called libcrypto.a, which I find and whose directory is added to the gcc command line with -L. Then I change my mind about that and instead create symlinks from /usr/lib to where the install placed the libraries. Now, the linker can find the libraries, but...
Okay, so now...I'm getting the message: undefined reference to `RAND_bytes' in the function `main'. Whoopee. Break out the `nm' utility...hmmm, RAND_bytes is alive and well in the `libcrypto.a' library.
Meanwhile, I have the latest MySQL compiling on kerouac; that ought to take a while (heck, I might even wear out the CPU).
Gonna have to sleep on this.
Cheers...