First my environment.<br><br>Mac OS 10.5.1 (Darwin 9.1.0)<br>gcc version 4.0.1 (Apple Inc. build 5465)<br>readline-5.1<br>gnump-4.2.1<br>cln-1.1.9<br>GiNaC-1.4.1<br><br>I get a coredump when I run the first example from section 
2.1 of the GiNaC 1.4.1 Tutorial, revision 5 September 2007.&nbsp; Here is the stack trace.<br><br>Program received signal EXC_BAD_ACCESS, Could not access memory.<br>Reason: KERN_PROTECTION_FAILURE at address: 0x00000002<br>0x00000002 in ?? ()
<br>(gdb) bt<br>#0&nbsp; 0x00000002 in ?? ()<br>#1&nbsp; 0x006d6480 in cl_module__cl_prin_globals__firstglobalfun () at output/cl_prin_globals.cc:6<br>Cannot access memory at address 0x6<br><br>I built my program like this:<br><br>
g++ -I/usr/local/include -L/usr/local/lib src/tut.cpp -lginac<br><br>I also tried adding -lcln -lgmp and -lreadline to the link but the result was the same.<br><br>This same error happens when I attempt to run ginsh.&nbsp; I was concerned during the build when configure said:
<br><br>=== The following minor problems have been detected by configure.<br>=== Please check the messages below before running &quot;make&quot;.<br>=== (see the section &#39;Common Problems&#39; in the INSTALL file)<br><br>
== Unsupported version of libreadline.<br><br>== I could not run a test of libreadline (needed for building ginsh).<br><br>Configuration of GiNaC 1.4.1 done. Now type &quot;make&quot;.<br><br>I ignored this and built anyway since I don&#39;t plan to use ginsh, just the library.&nbsp; Perhaps the issues are unrelated.&nbsp; Please help me to get started with building and running the tutorial examples.
<br><br>&nbsp;&nbsp; Ken Smith<br>