Ask a question?
  • Contact Us
  • Support Case System
  • Support Forum

How Do I Interpret Relink Scripts?

OpenLink's re-link scripts are associated with missing library errors and missing symbol errors. Use the following guidelines to troubleshoot these problems: Missing Libraries

  1. Search the machine for the missing library.
  2. Insure that no file or directory permissions prohibit access to found libraries.
  3. Insure that LD_LIBRARY_PATH, LIBPATH, or SHLIB_PATH pass the location of found libraries.
  4. Pass the full path to found libraries within the re-link script itself. In most cases, pass the library on the cc -s -o line. However, pass the library on the make -f line in Oracle scripts. Pass the library under $PRO_EXTRA in Progress mkdlc scripts.
Missing Symbols
  1. Login to the machine.
  2. cd into the database's /lib sub-directory.
  3. Run the following command: nm -A *.so | grep . For example:
    nm -A *.so | grep xsendto
    
  4. Record the names of files, which contain the symbols. The filename will be the first name in the nm output.
  5. cd to the /lib sub-directory of the OpenLink installation.
  6. vi the script that produced the error.
  7. Pass the full path to found libraries within the re-link script itself. In most cases, pass the library on the cc -s -o line. However, pass the library on the make -f line in Oracle scripts. Pass the library under $PRO_EXTRA in Progress mkdlc scripts.