Experimental Physics and
| |||||||||||||||||
|
I am trying to run the ioc example from the R3.14.1 AppDevGuide on a Redhat 8.0 machine. ... and I get the following error message: If you run 'ldd ../../bin/linux-x86/example' you'll see that it is unable to find the shared libraries from base, which is where libiocsh.so is found. This is an issue that R3.14.1 doesn't really deal with properly - we need to add some additional functionality to one of the perl scripts to fix it, but there are several ways of doing so manually. I suspect you haven't actually set the LD_LIBRARY_PATH environment variable properly - what is its exact value? It should be a colon (:) separated list of absolute path-names to the directories containing the shared libraries. However there is another way to resolve this problem which was added to R3.14.1 at a fairly late stage - edit <base>/configure/os/CONFIG_SITE.Common.linux-x86 and there uncomment and set the SHRLIB_SEARCH_DIRS path to the absolute path to <base>, then rebuild your example application (gnumake rebuild from the top level). You can add other paths to SHRLIB_SEARCH_DIRS in your application too - you'll need to edit <top>/configure/CONFIG and add the line SHRLIB_SEARCH_DIRS += $(SNCSEQ) to make the sequencer example build and run properly (as well as setting SNCSEQ in your <top>/configure/RELEASE file). HTH, - Andrew -- A: No, see http://www.netmeister.org/news/learn2quote.html Q: Should I include quotations after my reply ?
| ||||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |