× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Over the long weekend I did some poking around with little luck. I finally removed the PTF for Zendsvr6 that I applied and got back to "normal" but I am a little mystified by the error. I couldn't even update the perlz stuff I had. Issue after issue...probably a result of lack of knowledge when I installed the first round years ago....

I don't see the any evidence of curl even being a part of the /var/opt/freeware/ folder binaries. No evidence of libcurl.a in the "freeware" folders either. 'find' only found it in /usr/local/zendsvr6/lib-8.0.1/ folder... oh, and also in the "old" zendsvr folder /usr/local/zendsvr/lib as well. Yeah, that folder and lib and even the ancient zendcore stuff is still lying around on this partition. I haven't had the guts to start removing the cruft yet. Zendsvr6 may have weirdnesses but at least it is working. But, I do need to get with Mike P at some point and wade through the cruft and clean this thing up....

Your suggestions were exactly where I ended up, more or less. I symlinked the libcurl.a I found in /usr/local/zendsvr6/lib-8.0.1/ to libcurl.a in /usr/local/zendsvr6/lib then I checked it with ar -t (took me a while to determine that was the right way to see if the archive was the correct one) it returned libcurl.so.4 so I knew I was OK. But, even so, with the correct lib in the correct place, Wordpress refused to display anything. The error was gone but I still didn't have functioning websites. So, after spending an expensive afternoon trying to get it to work, I just pulled the plug on the PTF and reverted back. There was no libcurl in /QOpenSys/usr/lib to link to so that is why I ended up linking to the lib in /usr/local/zendsvr6/lib-8.0.1/

I'll attempt to clean stuff up after the Common Fall conference. The zendcore/zendsvr stuff has to go and I am not convinced that the old perlz stuff is worth anything anymore. I'd love to get back to the point where most of the stuff I have is "made for IBM i" with only the essentials being installed from perlz that are needed.

Thanks for the info Aaron. You were right on the money.

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
LinkedIn - www.linkedin.com/in/petehelgren
Twitter - Sys_i_Geek IBM_i_Geek

On 9/6/2016 6:36 AM, Aaron Bartell wrote:
You could temporarily symlink it to /QOpenSys/usr/lib and see if that fixes
the issue. First make a backup of the existing libcurl.a (if you're
replacing an existing one in /QOpenSys/usr/lib).

Also, do the following to see what members exist in the new libcurl.a you
found.

$ ar -t /usr/local/zendsvr6/lib-8.0.1/libcurl.a

Also, in the WEB400 thread you mentioned "No (my perlz stuff is ancient on
this partition)". That could actually be your issue. If the perzl stuff
has made it's way into the library search path because of how the latest
Zend code is compiled then Zend might be picking up perzl stuff (like it
did in the following thread:
http://archive.midrange.com/opensource/201608/msg00094.html)


Aaron Bartell
litmis.com - Services for open source on IBM i


On Mon, Sep 5, 2016 at 9:21 AM, Pete Helgren <pete@xxxxxxxxxx> wrote:

I don't normally cross post but this question has gotten no traction on
the Web400 list, nothing in a post on the Zend site (crickets....might be
the holiday....)

One additional bit of information: a 'find' turned up a "libcurl.a" in
/usr/local/zendsvr6/lib-8.0.1/ Should I symlink that back to
/usr/local/zendsvr6/lib ? Ideas would be welcome


-------- Forwarded Message --------
Subject: No curl error after Zend PTF apply
Date: Fri, 2 Sep 2016 16:41:37 -0500
From: Pete Helgren <pete@xxxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>



I am getting an interesting message in my Apache logs after I updated my
Zend server installation:

exec(): 0509-036 Cannot load program /usr/local/ZendSvr6/bin/php-cgi.bin
because of the following errors:
0509-150 Dependent module libcurl.a(libcurl.so.4) could not be
loaded.
0509-022 Cannot load module libcurl.a(libcurl.so.4).
0509-026 System error: A file or directory in the path name does
not exist.

I have no idea why and I didn't see anything in the documentation about
an "after you apply this PTF" step. I installed the Zend Server 8.5.5
cumulative PTF upgrade for Zend Server 6.x/7.x/8.x (PHP 5.6) which was
PTF Z6ZS0030. When I try to access the Wordpress instance or anything
that requires PHP, I see the message in the logs....the attempt
eventually times out.

Not sure why it is looking for curl or why it wasn't installed (if it
was supposed to be).

Ideas?

--
Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
LinkedIn - www.linkedin.com/in/petehelgren
Twitter - Sys_i_Geek IBM_i_Geek

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.