If ld returns an error indicating the file cannot be found, verify the LD_PATH syntax.
If a dynamic library file is placed outside default directories and isn't hardcoded into the RPATH, omitting this environment variable causes immediate application initialization failure. Implementation & Modification Workflows vxworks ld_path environment variable
You can configure environment variables directly from the target shell using Wind River's standard envLib library calls: If ld returns an error indicating the file
Scripts designed to load applications become more portable. You can move your binaries to a different storage mount point (e.g., from /sd0 to /ata0 ) and simply update the environment variable. You do not need to rewrite your loading scripts. vxworks ld_path environment variable
Without LD_PATH , you would need to provide the full absolute path for every load operation: