Project

Profile

Help

Revision 8bb58fad

Added by O'Neil Delpratt almost 2 years ago

Added note for ldconfig

View differences:

latest9.9/hec/saxonc-doc/doc/starting.xml
88 88

  
89 89
               <p>Next run: </p>
90 90
               <kbd>sudo ldconfig</kbd>
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>
91 93
            </li>
92 94

  
93 95
            <!-- <li><p>The C++ compiler requires the include path to the Java header files during compilation.
......
429 431
      <h2 class="subtitle">Prerequisites</h2>
430 432

  
431 433
      <p>Please have the following packages on your machine to build Saxon/C for the Python
432
         language: <code>Python3</code> and <code>Cython</code>.</p>
434
         language: <code>Python3</code> (64-bit) and <code>Cython</code>.</p>
433 435

  
434 436
      <p>The Saxon/C Python extension API has been developed using Cython for Python3. Cython is
435 437
         required to build the extension library. To install Python and Cython on Mac OS, we
......
451 453
      <h3>Windows Platform</h3>
452 454

  
453 455
      <p>The Python extension on the Windows platform can be built using the following instructions:</p>
454
       <p>Install Python 3.X with VS 2017 or 2019 which can then be run
456
       <p>Install Python 3.X (64-bit) with VS 2017 or 2019 which can then be run
455 457
          with command "py" from Powershell.</p>
456 458

  
457 459

  
......
475 477
      <p>After installing Saxon/C, if you notice anomalies in execution, then the apache log file
476 478
         usually has useful information on errors reported and crashes. See below for a description
477 479
         of some of the common errors and crashes, and their solutions:</p>
478
      <ul>
480
      <ol>
479 481
         <li>
480 482
            <p>
481 483
               <code>FATAL ERROR: Unable to load /usr/lib64/rt/lib/amd64/libjava.so (libjvm.so
......
484 486
            </p>
485 487
            <p><b>Solution:</b> Running the following command should resolve the error:</p>
486 488
            <kbd>sudo ldconfig</kbd>
489
            <p>Ignore the message 'file /lib/libsaxon[EDITION].so is truncated'. The library was created using
490
            Excelsior Jet.</p>
487 491
            <p>Alternatively create a symlink to the java virtual machine. This is not required to
488 492
               install or compile, but it is required for PHP code. The following command should
489 493
               resolve the issue on a 64-bit machine:</p>
......
520 524
            </p>
521 525
            <kbd>sudo apt-get install ia32-libs</kbd>
522 526
         </li>
523
      </ul>
527
         <li>
528
            <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>
531
         </li>
532
      </ol>
524 533

  
525 534

  
526 535
   </section>

Also available in: Unified diff