Service Pack: "Critical error: .../z39_gate didn't compile" with Solaris 10
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
I’m getting an error: “Critical error: /exlibris/aleph/a18_1/aleph/exe/z39_gate didn't compile” when trying to install the latest service pack on a new installation (with Solaris 10).
Resolution:
1. The problem was that GCC was not defined in PATH.
Here is the diagnostic that development used to confirm this:
athena-a16(1) >>which gcc
Execute aleph cshrc
Execute master cshrc
no gcc in /exlibris/aleph/a16_1/product/bin /exlibris/aleph/a16_1/product/local/java/bin /opt/SUNWspro/prod/bin /usr/X/bin /bin /etc
/usr/bin /exlibris/aleph/a16_1/alephm/proc /exlibris/aleph/a16_1/aleph/exe /exlibris/app/oracle/product/920/bin
/exlibris/aleph/a16_1/product/local/cobol/bin /usr/openwin/bin /usr/ccs/bin /usr/ucb /opt/bin /usr/local/bin . .
Since this server is running Solaris 10, development created a link in /exlibris/aleph/a16_1/product/bin to gcc which currently existing in the OS:
cd $aleph_product/bin
ln -s /usr/sfw/bin/gcc gcc
2. In another case, the failure to compile was due to the fact that the ./alephm/source/z39/z39_gate files were encrypted: they should not be (that is, they should not have a ".enc.gz" suffix).
- Article last edited: 10/8/2013