Project

Profile

Help

Revision 37526d11

Added by Debbie Lockett almost 2 years ago

Saxon/C documentation update tidy

View differences:

latest9.9/hec/saxonc-doc/doc/starting.xml
89 89
               <p>Next run: </p>
90 90
               <kbd>sudo ldconfig</kbd>
91 91
               <p>Ignore the message 'file /lib/libsaxon[EDITION].so is truncated'. The library was created using
92
               Excelsior Jet. The library is loaded from within the Saxon/C application and not in the usual way of shared libraries.</p>
92
               Excelsior JET. The library is loaded from within the Saxon/C application and not in the usual way of shared libraries.</p>
93 93
            </li>
94 94

  
95 95
            <!-- <li><p>The C++ compiler requires the include path to the Java header files during compilation.
......
487 487
            <p><b>Solution:</b> Running the following command should resolve the error:</p>
488 488
            <kbd>sudo ldconfig</kbd>
489 489
            <p>Ignore the message 'file /lib/libsaxon[EDITION].so is truncated'. The library was created using
490
            Excelsior Jet.</p>
490
            Excelsior JET.</p>
491 491
            <p>Alternatively create a symlink to the java virtual machine. This is not required to
492 492
               install or compile, but it is required for PHP code. The following command should
493 493
               resolve the issue on a 64-bit machine:</p>
......
509 509
                  '/usr/lib/php/modules/saxon.so' - libsaxonhec.so: cannot enable executable stack
510 510
                  as shared object requires: Permission denied in Unknown on line 0</code>
511 511
            </p>
512
            <p><b>Solution:</b> This has been observed on centos systems: SELinux is
513
               enforced/enabled.</p>
514
            <p>Run the following command to show the security setting for the library files:</p>
512
            <p>This has been observed on centos systems when SELinux is enforced/enabled.</p>
513
            <p><b>Solution:</b> Run the following command to show the security setting for the library files:</p>
515 514
            <kbd>ls -alZ /usr/lib" and 'ls -alZ /usr/lib/php/module/</kbd>
516 515
            <p>Then run the following commands or similar to change the security context:</p>
517 516
            <kbd>chcon system_u:object_r:lib_t:s0 /usr/lib/libsaxonhec.so</kbd>
......
526 525
         </li>
527 526
         <li>
528 527
            <p><code>Unable to load C:\Program Files\Saxonica\SaxonHEC1.2.1\libsaxonhec.dll Error: : No error</code></p>
529
            <p><b>Cause and Solutions:</b> Running 32-bit environments including 32-bit python and PHP builds against Saxon/C which can only run with 64-bit builds.
530
            Machine operating system must be 64-bit, python and PHP builds must be 64-bit to run with Saxon/C.</p>
528
            <p>Caused by attempting to run Saxon/C in 32-bit environments, including 32-bit Python
529
               and PHP builds. Saxon/C can only run with 64-bit builds.</p>
530
            <p><b>Solution:</b> 
531
            The machine operating system must be 64-bit, and Python and PHP builds must be 64-bit to run with Saxon/C.</p>
531 532
         </li>
532 533
      </ol>
533 534

  

Also available in: Unified diff