Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mL2BF-0001IZ-Hw for pgsql-general@arkaria.postgresql.org; Tue, 31 Aug 2021 11:43:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mL2BE-0000zf-HR for pgsql-general@arkaria.postgresql.org; Tue, 31 Aug 2021 11:43:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mL2BE-0000wr-8j for pgsql-general@lists.postgresql.org; Tue, 31 Aug 2021 11:43:52 +0000 Received: from [212.17.106.138] (helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mL2B8-0002GH-R8 for pgsql-general@lists.postgresql.org; Tue, 31 Aug 2021 11:43:51 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 42FFE54A9; Tue, 31 Aug 2021 13:43:34 +0200 (CEST) Date: Tue, 31 Aug 2021 13:43:34 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Can't locate Ora2Pg.pm while executing export_schema.sh Message-ID: Mail-Followup-To: pgsql-general@lists.postgresql.org References: <1e7c9584-a8b5-0ea6-bfca-f6fef7f5546b@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4qXivWUPTQsz1P/G" Content-Disposition: inline In-Reply-To: <1e7c9584-a8b5-0ea6-bfca-f6fef7f5546b@gmail.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 212.17.106.138 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --4qXivWUPTQsz1P/G Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-08-17 10:34:28 -0400, Mladen Gogala wrote: > You should locate Ora2Pg.pm using "find" like this: >=20 > [mgogala@umajor ~]$ find /usr/local -name Ora2Pg.pm > /usr/local/share/perl5/5.32/Ora2Pg.pm > [mgogala@umajor ~]$ >=20 > and then make sure that your PERL5LIB directory contains=A0 the location: >=20 > export PERL5LIB=3D/usr/local/share/perl5/5.32:$PERL5LIB >=20 > That should do the trick. On most distributions, > /usr/local/share/perl5/ is already included into PERL5LIB. It should be. Normally, if a perl module is not where perl can find it that's a pretty good indication that either the module wasn't installed properly in the first place or that something changed which makes a reinstall highly advisable (e.g. a perl upgrade). hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --4qXivWUPTQsz1P/G Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmEuFdsACgkQ8g5IURL+ KF1IXA/9EYYIYjdMKjFwIB4yJaXSDMzeQh3t+w+7gQk6YWbFAQhLhqQt5pDA3n4T uCTNrQMVBdoqSrY0c/Rh2VWs5EtKiKVXcPQmWHQKrnZBiGNMn792K95ukd038Dzg JH31+DTfDyq3szsRgNE9Spet2QoU1AbQRHRSS4A9HRXZnO/N1nzYR6RrMv/D+Rdn NnY8FsOcUBOPtnYlxsZrb5+4KURpnGmUZZ32Jkr4hhTBAvRj6OKbOqSHbTx9etpj onVdZd7iTKvnONSFRCiJRF9xIUzl3Q/fw57/ktMLf4RKp9rdQrsnI2LrURquibK8 kMvQXMwHgVtFxP/FDsU75YP8TGXNAJteFLceoYbJX86yUxhgEBw/YYiMzBZChy+2 43XRwtXMH5bX67tFUsktuMEfrrLioNXWqUzcIw88BBU9V86fJNvbKYSLKawCehjX GgtlUYPkFG0PhUc3OoMxg8mMtKodYGm4v7kT586AOysXHZSwNWxWv+5B+1M6fZ0J 4ixSdDJtDBelaPM93OQPIx6XPFHoggBGL5UKzJGlTfdQXGVY6zFGhAwoirTMHc/X SpCF8i9lCQUvtjV1TH10j86K5sAHW0Fv3mA1h9V1xRowx/NrcDB60DGoybyCnJ9W EOCDUdEDubTAdXqM4VXVRiXCORhrgJp4EVr92mfJCvMgKeK7A4M= =2nzD -----END PGP SIGNATURE----- --4qXivWUPTQsz1P/G--