So, here is what I ended up doing to get the install to run:

Temporarily renamed /QOpenSys/opt/freeware/lib/libssl.a AND /QOpenSys/opt/freeware/lib/libcrypto.a As Bryan noted, there are two files that the install will choke on: libssl.a and libcrypto.a

I linked to the correct libraries in /QOpenSys/usr/lib:

ln -s /QOpenSys/usr/lib/libssl.a /QOpenSys/opt/freeware/lib/libssl.a

ln -s /QOpenSys/usr/lib/libcrypto.a /QOpenSys/opt/freeware/lib/libcrypto.a

Then I ran the installer program and it succeeded

I have a feeling that if I return the files to their original names and places, MariaDB will no longer START based on where the install error occurred:
Message . . . . : Member not found in PASE for i archive .
Cause . . . . . : The error occurred attempting to load PASE for i program
/usr/local//mariadb-10.1.12-os400-powerpc/bin/mysqld. Recovery . . . :

Seems like the startup script chokes if the libraries aren't correct...not sure but given where the error occurred, it would make sense.

For the Zend folks, they have some issues to resolve on the install methinks.....

Thanks for the pointer, Bryan.

Pete Helgren
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek

On 1/1/2017 6:20 PM, Bryan Dietz wrote:
just do the rename for the install.


On Jan 1, 2017, at 7:18 PM, Pete Helgren <pete@xxxxxxxxxx> wrote:

Not sure how the PASE environment handles it. All of the environment variables I saw defined when I used WRKENVVAR were just the names and values. On my .profile I used:

export LD_LIBRARY_PATH=/QOpenSys/usr/lib

We'll see what tomorrow turns up. Still have a couple ideas that I am chasing and I could use Bryan's technique but, again, I think it is a runtime issue which means renaming stuff could hose up other programs....

Pete Helgren
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek

On 1/1/2017 4:38 PM, Jack Woehr wrote:
Okay, some thoughts:

- To me from Linux/Solaris background, it's LD_LIBRARY_PATH and it names
the*directories* in which shared objects will be found.
- In Lin/Sol yo make the path include any dir containing any .so you
need whose path is not coded in the executable itself, excepting the system
library dirs (/lib and /usr/lib).
- Remember to EXPORT the LD_LIBRARY_PATH after you set it.
- LD_LIBRARY_PATH=/foo/bar:/foo/bar/woof:/arf/azotic; export

This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.