Answers Database


MAP Error: ld.so.1: map: fatal: relocation error: symbol not found:


Record #2492

Product Family: Software

Product Line: FPGA Implementation

Product Part: map

Product Version: 1.2

Problem Title:
MAP Error: ld.so.1: map: fatal: relocation error: symbol not found:


Problem Description:
Urgency: standard

General Description:
Errors like the following can occur when there is a mismatch
between an executable and shared library.

Example:

   ld.so.1: map: fatal: relocation error: symbol not found:
   __0fLTECHMAP_SIGHispowerv: referenced in
   /export/vol2/m1_2_11_patch/xc4000/bin/sol/libx4kma.so


Usually seen after installing a patch for Map to a separate,
"MYXILINX" tree Map without also modifying the $PATH and
$LD_LIBRARY_PATH.


Solution 1:

Executables are found using the $PATH variable and base
shared libraries are found using the $LD_LIBRARY_PATH
variable ($SHLIB_PATH for HP).

It's important that the MYXILINX path appear *FIRST* in both
environment variable specifications, so that both the patched
executables and the patched shared libraries are used.

The following is an example of how to change from a standard
environment to an environment that accesses a patch in a
separate location using the MYXILINX variable:

   setenv MYXILINX /home/litespeed/patches/x1_2.11/map/sun
   setenv PATH $MYXILINX/bin/sun:${PATH}
   setenv LD_LIBRARY_PATH $MYXILINX/bin/sun:{$LD_LIBRARY_PATH}



(BW)




End of Record #2492 - Last Modified: 06/30/97 10:35

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!