The symbolic links points to the libz.a, but did you verify that the libz.a file exists at the intended location?
Run this and see what you get:
ls -l /QOpenSys/ QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a



On our V7R3 box we have a newer version of zlib.

ls -la /usr/lib
lrwxrwxrwx 1 qsys 0 34 Aug 14 2006 /usr/lib -> /QOpenSys/usr/lib
$
ls -la /usr/lib/libz.a
lrwxrwxrwx 1 qsys 0 78 Aug 16 2017 /usr/lib/libz.a -> ../../QIBM/ProdData/SC1/zlib/lib/libz.a
$
ls -la /QOpenSys/QIBM/ProdData/SC1/zlib/lib/libz.a
-rwx---r-- 1 qsys 0 296843 Aug 27 2015 /QOpenSys/QIBM/ProdData/SC1/zlib/lib/libz.a
$


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Steve Richter
Sent: Thursday, February 15, 2018 3:06 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] error starting PHP 7

following this document:
https://urldefense.proofpoint.com/v2/url?u=https-3A__zend18.zendesk.com_hc_en-2Dus_articles_203010976-2DIBM-2Di-2Dissues-2Dwith-2D5733SC1-2Dlibssl-2Da-2Dlibz-2Da-2Dlibcrypto-2Da-2Dor-2Dothers&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_86s3OQNpuc&s=Ix2k3KRyPTrHjHBs8eTNkl8yyA1Wgjrl1qxK9ETJpYU&e=

we have 5733SC1 installed. for V7R2. and all the files described in the
document are found on the system:

ls -l
/usr/lib

lrwxrwxrwx 1 qsys 0 34 Aug 29 2009 /usr/lib ->
/QOpenSys/usr/lib
$

ls -l
/usr/lib/libz.a

lrwxrwxrwx 1 qsys 0 100 Nov 05 2013 /usr/lib/libz.a
-> ../../QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a
$

ls -l
/usr/lib/libssl.a

lrwxrwxrwx 1 qsys 0 118 Nov 05 2013 /usr/lib/libssl.a
-> ../../QIBM/ProdData/SC1/OpenSSL/openssl-0.9.7d/lib
/libssl.a

$

ls -l
/usr/lib/libcrypto.a

lrwxrwxrwx 1 qsys 0 124 Nov 05 2013
/usr/lib/libcrypto.a -> ../../QIBM/ProdData/SC1/OpenSSL/openssl-0.9.7d/
lib/libcrypto.a




On Thu, Feb 15, 2018 at 2:29 PM, Steve Richter <stephenrichter@xxxxxxxxx>
wrote:

/usr/local/zendphp7/var/log/php.log

php.log says

[13-Feb-2018 23:33:01 UTC] PHP Warning: PHP Startup: Unable to load
dynamic library '/usr/local/zendphp7/lib/php_extensions/zip.so'
0509-150 Dependent module libz.a(libz.so.1) could not be
loaded.
0509-022 Cannot load module libz.a(libz.so.1).

0509-026 System error: A file or directory in the path name does not
exist.
0509-022 Cannot load module /usr/local/zendphp7/lib/php_
extensions/zip.so.

0509-150 Dependent module /usr/local/zendphp7/lib/php_extensions/zip.so
could not be loaded. in Unknown on line 0

but the zip.so file is in the IFS:
Object . . . . . . : /usr/local/zendphp7/lib/php_extensions/zip.so


On Thu, Feb 15, 2018 at 1:53 PM, Hiebert, Chris <
chris.hiebert@xxxxxxxxxxxxxx> wrote:

What dependency is being reported in your php log?

It might not "libz.a".


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the
author and do not necessarily represent those of the company.


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Steve
Richter
Sent: Wednesday, February 14, 2018 10:20 AM
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Subject: [WEB400] error starting PHP 7

new install of PHP7 on ibm i. install completed, but getting error when I
browse to the Zend PHP 7 admin server:
https://urldefense.proofpoint.com/v2/url?u=http-3A__172.16.1
.254-3A10091_ZendServer_-23-21_&d=DwICAg&c=2S-2xx8Cum_thMfWs
-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3
WOG9BKFEwK1s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZYCthf7nCV2PQ&
s=mC16CC7UjjuN-4qwKbzn_PCsBAV3ogoEvq35HIQBAY8&e=
{"message":"Zend Server failed during initialization: Dependency failure:
Zend Utils extension must be loaded","prevs":["Dependency failure: Zend
Utils extension must be loaded"]}

which is identical to this post:
https://urldefense.proofpoint.com/v2/url?u=http-3A__forums.z
end.com_viewtopic.php-3Ff-3D77-26t-3D132448&d=DwICAg&c=2S-
2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr9
4zbPeTDRJYpFK3WOG9BKFEwK1s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZ
YCthf7nCV2PQ&s=Fbgt18ALCEWuEfbYm3UrQTT02teOs6VrgjmksGLgP-0&e=

but I do not follow when he says "...So I went into /usr/local/lib and
renamed libz.a to libz.a.old ...." Not finding that file to rename.

but in general, how to get support for zend php? I call the rogue zend
contact number and only get voice mail.

thanks,
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.m
idrange.com_mailman_listinfo_web400&d=DwICAg&c=2S-2xx8Cum_th
MfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJY
pFK3WOG9BKFEwK1s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZYCthf7nCV2
PQ&s=05S3wDCeFo99sMvbv3Cnsw8NdBkFI0jdcwWOMimThoU&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive
.midrange.com_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolP
vSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1
s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZYCthf7nCV2PQ&s=KN5DahMonw
tFvH_BNv9v6bHjR5-FwWm8swcoeGVv6Uc&e=.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_86s3OQNpuc&s=ZqQ0p82bkuH6QS0_jCF0170rHivCznTJKtZ74vmEQmM&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_86s3OQNpuc&s=y3_cMbh--rIsXgKn0preH8EdoltA4__TTc12mW2bZFQ&e=.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 by midrange.com 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.