Previous Thread
Next Thread
Print Thread
AXL - External library error #36986 19 Jan 24 02:42 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Now this could be just good or bad timing depending how you see it, But I was only yesterday pondering on usual AXL to create some Excel files for a customer data export when I read this post.

Quote

The most complicated 64 bit conversion was to the AXL / DYNLIB interface, which uses a lot of pointers and handles that all had to change to 64 bit. (ASB doesn't have a 64 bit integer type, forcing us to use X8 instead, which introduces some complexities due to the fact that it's technically a string, not a numeric type.) I think most if not all AXL-interfacing apps should be ok though after recompilation with the updated bsi modules.


Its been a while since I tried this and as its the first time i've tried it on my at home-development system is CentOS 8 / A-Shell 7.0.1753.2 (Was 64 bit running 7.0.1753.1 before i update recently) im sure the following errors are related to it not installed/setup:

Code
19-Jan-24 14:22:22 [p647774-1]<DIPD01:1b3c> DYNLIB: unable to load: libxl.so.1
19-Jan-24 14:22:22 [p647774-1]<DIPD01:1b3c> Dynlib error: status=-65537, syserr=0, setting Basic error: 65
19-Jan-24 14:22:22 [p647774-1]<DIPD01:1b3c> Trapped Basic Error #65 (External library error ) at location counter &h1B3C, last pro
19-Jan-24 14:22:22 [p647774-1]<DIPD01:1b3c> Call stack trace, from program DIPD01 :                     From loc b87a, Call Proc()
19-Jan-24 14:22:22 [p647774-1]<DIPD01:14c83> Trapped Basic Error #65 (External library error ) at location counter &h14C83, last p


What have I obviously missed , need?

PS.
Is there an updated CentOS 8/64 ashell version ? as I updated to A-Shell 7.0.1753.2/32 to fix a button click issue i came across in 7.0.1753.1/64)

Last edited by Steve - Caliq; 19 Jan 24 02:43 PM.
Re: AXL - External library error [Re: Steve - Caliq] #36989 19 Jan 24 06:39 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
The timing probably is good, but the problem you're seeing isn't the one I was alluding to. Your error seems more like a failure to either locate the libxl.so.1, or there's a 32/64 bit mismatch. I just double-checked that it works under my CentOS 8 Stream/64 bit system, so I think you need to do the following:

1. Download libxl.so.4.2.0-x86_64 into your bin64 directory. (Note that unlike most of the other libraries and packages, this one does not have a platform-specific identifier like -cs8 because the same module actually works across all the current 64 bit linux platforms we support. It can do that because it static-links to all the necessary dependent libraries, which is why it's so large. I've considered doing the same for A-Shell itself, but am afraid there's just too much that needs to be included, and unlike the AXL library which really only needs to do one thing, the broad range of a A-Shell activities vastly increases the chance of an incongruency between it's embedded libraries and some external package library.)

2. Create a symbolic link from libxl.so.1 to it, i.e.
Code
$ cd /vm/miame/bin64
$ sudo ln -s $PWD/libxl.so.4.2.0.0.x86_64 ./libxl.so.1
Now you should be able to at least load the library. But you may need to recompile any of your programs using it, replacing the libxl.bsi with libxl64.bsi (You should probably refresh the entire libxl: directory from the repository, and then test using one of the sample test programs, perhaps tstacb, just to confirm that it's all operational.)

3. There is a 7.0.1753.2 update for the -cs8 64 bit platform in the 70rel/bin-linux-cs8 download directory.

Re: AXL - External library error [Re: Steve - Caliq] #36990 19 Jan 24 06:41 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Thanks, that’s my Monday morning now planned. - I’ll let you know how i get on.
Have a fun weekend.

Re: AXL - External library error [Re: Steve - Caliq] #36991 19 Jan 24 06:46 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Sorry for the delayed response! (Now I'm going to feel bad that you're going to have to suffer through the entire weekend, pretending to enjoy non-work activities, when what you really want to do is dig into the code!) cool

Re: AXL - External library error [Re: Steve - Caliq] #36992 19 Jan 24 07:03 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
A few sleepless nights due to the pending excitement !


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3