On 2008-06-04 02:10-0700 Jerry wrote:

> Sorry for taking so long to run this little experiment.
>
> First, this happened:
>
>
> -bash-2.05b$ ./hello
> dyld: Library not loaded: libgnat-4.3.dylib
>   Referenced from: /usr/local/plplot_build_dir/src_executable/./hello
>   Reason: image not found
> Trace/BPT trap
> -bash-2.05b$
>
>
> Then this happened:
>
> -bash-2.05b$ LD_LIBRARY_PATH=/usr/local/ada-4.3/lib/gcc/powerpc-apple-
> darwin8/4.3.0/adalib
> -bash-2.05b$ export LD_LIBRARY_PATH
> -bash-2.05b$ ./hello
> dyld: Library not loaded: libgnat-4.3.dylib
>   Referenced from: /usr/local/plplot_build_dir/src_executable/./hello
>   Reason: image not found
> Trace/BPT trap
> -bash-2.05b$

Hi Jerry:

Thanks for your report.

So I take it the simple test project built without obvious problems, but the
executable is having trouble finding libgnat-4.3.dylib at run time.

What do you do for this issue in the PLplot case?  The executables in that
more complicated case are set up the same way as in this simple test.
If you can run "ctest" in the PLplot build tree, then the PLplot Ada examples
run without issues on your platform.  So why don't you get the same good
result for the corresponding simple case?

The only other possibility I can think of is that CMake is not finding the
correct version of libgnat on your system for the simple case.  What
does the cmake output say about what libgnat version it has found?  Is that
the same result you get in the (working) PLplot case?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to