Right, that is not what you want, and it is not intuitive. I saw that happen, but it was relatively easy for me to fix as there was nothing in the library to start with.
What you really want is /QOpenSys/usr/local pointing to /usr/local, or vice versa. It really doesn't matter which way the link exists as long as one points to the other. This allows PASE utilities to be used from qshell and vice versa. PASE utilities are looking for something in /QOpenSys/usr/local, and qshell utilities are typically looking for something in /usr/local.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----rpg400-l-bounces@xxxxxxxxxxxx wrote: -----
To: "'RPG programming on the IBM i / System i'" <rpg400-l@xxxxxxxxxxxx>
From: "Dennis Lovelady" <iseries@xxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Date: 01/19/2010 09:57AM
Subject: RE: 7Zip Problem
The symbolic link is fine, and is required if you want to use 7Zip from
qsh as well as from PASE (it works in both places if you have that
link). Your problem is that you need to install gcc from the link on
Scott's website. BTW, gcc will want that link to exist as well. Your
life will be a lot easier with it than without it.
My point was, in the event that /QOpenSys/usr/local already exists (which is
not a rare situation), all this will do is to create a directory called
local under /QOpenSys/usr/local. Put another way, the following "link"
/QOpenSys/usr/local/local
Will point to /usr/local
This is probably not what you want. If this condition exists, the process
to clean this up and make it work the way you imply is simple but may not be
intuitive.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"The major difference between a thing that might go wrong and a thing that
cannot possibly go wrong is that when a thing that cannot possibly go wrong
goes wrong it usually turns out to be impossible to get at or repair."
-- Douglas Adams
As an Amazon Associate we earn from qualifying purchases.