Motorola 6806800C08B User Manual
Setting LD_LIBRARY_PATH
NCS Toolkit
NetPlane Core Services Overview User’s Guide (6806800C08B)
49
A.5.2
Setting LD_LIBRARY_PATH
Set the environment variable LD_LIBRARY_PATH to include the directory in which NCS
libraries are installed.
libraries are installed.
For a system manager host setup, the path is: export
LD_LIBRARY_PATH=/opt/motorola/ncs/scxb/lib
For a payload node setup, the path is: export
LD_LIBRARY_PATH=/opt/motorola/ncs/pld/lib
For running the AvSv demo, the Xerces XML parser must be installed and available. The Xerces
package should be installed in /opt/xerces-c-src_2_5_0. The library path for the
package, /opt/xerces-c-src_2_5_0/lib, must also be appended to the existing
LD_LIBRARY_PATH environmental variable. If the package is installed in some other location,
the equivalent library path should be appended to the existing LD_LIBRARY_PATH
environmental variable.
package should be installed in /opt/xerces-c-src_2_5_0. The library path for the
package, /opt/xerces-c-src_2_5_0/lib, must also be appended to the existing
LD_LIBRARY_PATH environmental variable. If the package is installed in some other location,
the equivalent library path should be appended to the existing LD_LIBRARY_PATH
environmental variable.
A.5.3
Running the Sample Programs
After setting the LD_LIBRARY_PATH, the sample programs can be run from the location where
they have been copied (from the development host) on the development target. For a
description of how to execute these sample applications, please refer to respective user’s
guides.
they have been copied (from the development host) on the development target. For a
description of how to execute these sample applications, please refer to respective user’s
guides.
For example: To verify the LEAP sample application, execute the leaptest_demo.out binary. For
options, refer to the LEAP Sample Application section in the LEAP Programmer’s Reference.
options, refer to the LEAP Sample Application section in the LEAP Programmer’s Reference.