Re: [apache-ssl] Re: Compile Problem II - RSAref & SSLeay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-ssl] Re: Compile Problem II - RSAref & SSLeay



Scot W. Hetzel wrote:
> 
> <=== src/modules
> gcc -c  -I./os/unix -I./include -I/usr/local/include   -funsigned-char -DAPA
> CHE_SSL `./apaci` modules.c
> gcc -c  -I./os/unix -I./include -I/usr/local/include   -funsigned-char -DAPA
> CHE_SSL `./apaci` buildmark.c
> gcc  -funsigned-char -DAPACHE_SSL `./apaci`     -o httpsd buildmark.o
> modules.o modules/ssl/libssl.a  modules/standard/libstandard.a
> main/libmain.a  ./os/unix /libos.a
>  ap/libap.a   -lcrypt -L/usr/local/lib -lssl -lcrypto
> rsa_lib.o: Undefined symbol `_RSA_PKCS1_RSAref' referenced from text segment
> err_all.o: Undefined symbol `_ERR_load_RSAREF_strings' referenced from text
> segment
> *** Error code 1
> 
> Stop.
> 
> I have a little more info on my problem.
> 
> When I compile SSLeay-[0.8.1b/0.9.0b] with the RSAref-2.0 libraries I get
> the above errors when the httpsd program is being compiled.
> 
> If I don't compile SSLeay with the RSAref-2.0 libraries, then the Apache-SSL
> server will compile with no errors.
> 
> Why doesn't the apache-SSL server compile with SSLeay + RSAref library?
> 
> Scot


You need to edit src/Configuration to add:
  EXTRA_LIBS=-L/usr/local/lib -lrsaref  (or whatever dir you installed
rsaref.a to)
                               ^^^^^^^
and 
  SSL_LIBS= -L$(SSL_LIB_DIR) -lssl -lcrypto -lRSAglue
                                             ^^^^^^^^

when you edit the Configure file (per the Apache installation
instructions), 
before you run the Configure script.


-- 
  <shreeves@hoover.msd.ray.com>
--
  E Pluribus Unix