When configuring OpenSSL with ./config shared --prefix=$HOME/install  
on Mac OS X 10.5.8, it compiles cleanly but doesn't install.  
Apparently some Makefiles seem to be messed up:

making install in crypto...
...
making install in ssl...
making install in engines...
installing 4758cca
cp: /Users/robinseggelmann/install//engines/lib4758cca.so.new: No such  
file or directory
installing aep
cp: /Users/robinseggelmann/install//engines/libaep.so.new: No such  
file or directory
installing atalla
cp: /Users/robinseggelmann/install//engines/libatalla.so.new: No such  
file or directory
installing cswift
cp: /Users/robinseggelmann/install//engines/libcswift.so.new: No such  
file or directory
installing gmp
cp: /Users/robinseggelmann/install//engines/libgmp.so.new: No such  
file or directory
installing chil
cp: /Users/robinseggelmann/install//engines/libchil.so.new: No such  
file or directory
installing nuron
cp: /Users/robinseggelmann/install//engines/libnuron.so.new: No such  
file or directory
installing sureware
cp: /Users/robinseggelmann/install//engines/libsureware.so.new: No  
such file or directory
installing ubsec
cp: /Users/robinseggelmann/install//engines/libubsec.so.new: No such  
file or directory
installing padlock
cp: /Users/robinseggelmann/install//engines/libpadlock.so.new: No such  
file or directory
installing capi
cp: /Users/robinseggelmann/install//engines/libcapi.so.new: No such  
file or directory
make[1]: *** [install] Error 1
make: *** [install_sw] Error 1

The problem occurs since request #2003, check-in #18488. When I return  
engines/Makefile to a version before that patch (1.25), it installs  
cleanly. However, then the binaries in apps can't find the libraries  
because they got the wrong directory for the shared libs:

openssl:
        /Users/robinseggelmann/install//libssl.1.1.0.dylib (compatibility  
version 1.1.0, current version 1.1.0)
        /Users/robinseggelmann/install//libcrypto.1.1.0.dylib (compatibility  
version 1.1.0, current version 1.1.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
version 111.1.4)

The lib is missing there. It doesn't matter whether the new libdir  
parameter is used or not. Unfortunatley I'm not familiar with the  
Makefiles, so I can't provide a patch. I'd appreciate if this is fixed  
soon because I have to use links now, so the binaries can find the  
libs. That in turn has the disadvantage, that the binaries don't  
notice changes and I have to rebuild everything every time, which is  
very annoying.

- Robin

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org
  • [openssl.org #2015] OpenSSL doesn't install with s... Robin Seggelmann via RT

Reply via email to