Sybase ASE 11.9.2 under RedHat 8.0 - Postinstall script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In addition to my previous mail, I think that there is a problem in
the postinstall script of the rpm file.
 
This is a sample of the postinstall script :
 
---
postinstall scriptlet (through /bin/sh):
# Recover the possible lost libinsck for diagserver ops
if [ ! -h $RPM_INSTALL_PREFIX/symlib/libinsck.so ]; then
ln -s $RPM_INSTALL_PREFIX/devlib/libinsck.so \
$RPM_INSTALL_PREFIX/symlib/libinsck.so
fi
 
---
 
As the error message for this action is :
 
ln: unable to create symlink '/symlib/libinsck.so' to '/devkib/libinsck.so' : no such file or directory
/install/sybinstall.sh : no such file or directory
error: %post(sybase-common-11.9.2-3) scriptlet failed, exit status 127
 
I think there is a problem with the $RPM_INSTALL_PREFIX variable that seems to be empty.
 
I try to install with : rpm -ivh sybase-common-11.9.2-3.i386.rpm --prefix=/opt/sybase-11.9.2
 
but that don't solve the problem...
 
 
Does anyone have an idea to force the value of $RPM_INSTALL_PREFIX ?
 
Thanks.
 

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux