| MAKE_PKG_DB(1ONBLD) | illumos Build Tools | MAKE_PKG_DB(1ONBLD) |
The Perl DBM database files contain information keyed on a file name. Some files, for example, list the package in which a file is included and the permissions of the file.
If you run make_pkg_db -dbdir dbm_database_pathname, an error message such as:
***CANNOT RESOLVE ABSOLUTE PATH /usr/java/bin/appletviewer
is generated because the script cannot resolve symbolic links based on the information in /var/sadm/install/contents. In /var/sadm/install/contents, for example, appletviewer is specified as a symbolic link:
Unfortunately, /usr/java is a symbolic link to /usr/java1.2. The correct file entry in /var/sadm/install/contents is therefore /usr/java1.2/bin/appletviewer. It is impossible for this script to resolve this link based on the information in /var/sadm/install/contents.
To correct this problem, create a file named MyLinkResolution and add this entry:
Then enter this command:
This message indicates that the original entry in /var/sadm/install/contents is ignored and your new entry in MyLinkResolution is used instead.
SampleLinks is a file you can use to resolve links in /var/sadm/install/contents for Solaris (Intel Platform Edition). SamplePkgLinks is a file you can use to resolve some of the links used on the Solaris 8 Software 1 of 2 Intel Platform Edition CD. You might want to modify these two preceding files for SPARC or for your particular environment.
The make_pkg_db script verifies the files it finds against the software that is actually installed on the system. The more complete the information, the more accurate the output of the script.
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWonbld |
| CSI | Enabled |
| Interface Stability | Evolving |
| MT-Level | Unsafe |
This script might not resolve all symbolic links.
| November 2, 2000 |