Hi Christian,

I finally managed to get Saxon/C working on my 64-bit SUSE virtual machine.

Here are a set of instructions to get yours working (some of these you may already have done, but please check the paths):

1) Copy the directory rt into the directory /usr/lib64 instead of lib.

2) In the file /etc/sysconfig/apache add to the bottom of the file the text:  export LD_LIBRARY_PATH=/usr/lib64/rt/lib/amd64:$LD_LIBRARY_PATH
Please note the change in 1) ‘lib64’ and that we drill down into the rt/lib/amd64 instead of rt/amd64. I will correct the path on the website shortly.

3) Edit the file .bashrc with the same LD_LIBRARY_PATH as in 2). The file bashrc is located in /home/user/.bashrc replace user with your username.

4) restart apache2 with "systemctl restart apache2.service"  


It should at least run Saxon/C now.

kind regards,

O’Neil


On 10 Jun 2014, at 10:16, Christian Schwaderer <c_schwaderer@hotmail.com> wrote:

Thanks again, Oneil!
But I don't think that this is the problem. I double checked that entry - and it is there.
Without the line "extension=saxon.so" PHP wouldn't try to "load dynamic library '/usr/lib64/php5/extensions/saxon.so' ". And without loading "saxon.so" - how should PHP know that it has to open "libsaxon.so"?
Maybe PHP doesn't know where to look for "libsaxon.so" because it says "Unknown on line 0". That seems strange to me. Obviously PHP is able to obtain some information from saxon.so. Otherwise, it wouldn't know the filename "libsaxon.so". But why can't PHP give the right line number? (Or does it start line counting from zero and the entry pointing to "libsaxon.so" is in the very first line? Than still, the word "Unknown" remains a problem.)

I hope you find the error via building an openSUSE 13.1 64 bit virtual machine yourself. Unfortunately, I don't think there is anything I could try or do now.

Thanks again and kind regards!
Christian


From: oneil@saxonica.com
Date: Tue, 10 Jun 2014 09:54:25 +0100
To: saxon-help@lists.sourceforge.net
Subject: Re: [saxon] Installing Saxon/C on openSUSE 13.1 64-bit

This looks like the php extension has not been added to the php.ini file. i.e. extension=saxon.so

I am building myself a virtual box with openSUSE 13.1
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help

-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited Email: oneil@saxonica.com
Tel: +44 118 946 5894
Web: http://www.saxonica.com
Saxonica Community site: http://dev.saxonica.com
Bug tracking site: https://saxonica.plan.io/