This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
informatica:hp_z230t_400wb_topspin327 [2019/08/19 16:02] miquel [ld: /usr/lib32/crti.o: unrecognized relocation (0x2b) in section `.init'] |
informatica:hp_z230t_400wb_topspin327 [2019/08/19 16:11] miquel [Configuració de LD_LIBRARY_PATH] |
||
---|---|---|---|
Line 741: | Line 741: | ||
# | # | ||
</ | </ | ||
+ | |||
+ | |||
+ | ==== Configuració de LD_LIBRARY_PATH | ||
+ | |||
+ | Few hints: | ||
+ | |||
+ | Use the ldconfig command to show the dynamic linker/ | ||
+ | | ||
+ | |||
+ | The ldd paths are set in /// | ||
+ | |||
+ | If your libraries are not on standard path then either you need to add them to the path or add non-standard path to LD_LIBRARY_PATH | ||
+ | | ||
+ | Once you done any one of above things then you need to update the dynamic linker run-time binding by executing below command: | ||
+ | sudo ldconfig | ||
+ | |||
+ | Per més informació consultar: | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | |||
Line 799: | Line 822: | ||
/ | / | ||
collect2: error: ld returned 1 exit status | collect2: error: ld returned 1 exit status | ||
- | < | + | </file> |
que està causat per //using a older version of ld to link a library that had been built with a newer version// i la solució és //The fix is either to build the library that you want to link with a older version of the binutils suite, or to upgrade ld on the machine that wants to link that library.// | que està causat per //using a older version of ld to link a library that had been built with a newer version// i la solució és //The fix is either to build the library that you want to link with a older version of the binutils suite, or to upgrade ld on the machine that wants to link that library.// |