CentOS 5.5 - symbolic link-Erstellung in RPM-spec-Datei

Muss ich erstellen Sie die folgenden symbolischen links, in die RPM-Datei

/bin/ln -sf libcrypto.so.0.9.8e /lib/libcrypto.so.0.9.8
/bin/ln -sf libssl.so.0.9.8e /lib/libssl.so.0.9.8

In meinem RPM-spec-Datei:

%files
%defattr(-,root,root)
/lib/libcrypto.so.0.9.8
/lib/libssl.so.0.9.8
<other files...>

%install
/bin/ln -sf libcrypto.so.0.9.8e /lib/libcrypto.so.0.9.8
/bin/ln -sf libssl.so.0.9.8e /lib/libssl.so.0.9.8

Den /lib/libcrypto.so.0.9.8 e und /lib/libssl.so.0.9.8 e existiert auf meinem PC, aber wenn ich versuche zu installieren, meine U /MIN, ich bekam eine Fehlermeldung:

libcrypto.so.0.9.8 is needed by my-test-rpm-1.el5.i686
libssl.so.0.9.8 is needed by my-test-rpm-1.el5.i686

Was falsch? Was muss ich tun, um erstellen Sie symbolische links, die Teil der RPM-installation?

Dank

InformationsquelleAutor Dima | 2011-01-28
Schreibe einen Kommentar