Where is the library installed to?  In what directory?

Is that directory referenced in the /etc/ld.so.conf file?

If not, add it and then run "ldconfig" command, then re-try.



On Thu, Jan 12, 2023 at 11:32 AM Syed Abdulla <syed.abdull...@gmail.com>
wrote:

> Thank you Clive. I installed the library libnsl.x86_64. Below I pasted
> outputs from the commands. I logged in as root.
>
> *# dnf install libnsl.x86_64*
> *Last metadata expiration check: 0:04:34 ago on Thu 12 Jan 2023 04:22:12
> PM UTC.*
> *Package libnsl-2.28-189.5.el8_6.x86_64 is already installed.*
> *Dependencies resolved.*
> *Nothing to do.*
> *Complete!*
>
> *#perl -MCPAN -e shell*
> *CPAN>get DBD::Oracle*
> *CPAN>quit*
> *#cd /root/.cpan/build/DBD-Oracle-1.83-0*
> *#perl Makefile.PL*
>
> I see the below error again:
> */usr/bin/ld: cannot find -lnsl*
> *collect2: error: ld returned 1 exit status*
> *make: *** [Makefile:524: blib/arch/auto/DBD/Oracle/Oracle.so] Error 1*
>
> *Please help to resolve this issue.*
> *Thanks*
>
> On Thu, Jan 12, 2023 at 9:50 PM Clive Eisen <cl...@serendipita.com> wrote:
>
>> dnf install libnsl.x86_64
>>
>> On 12 Jan 2023, at 14:25, Syed Abdulla <syed.abdull...@gmail.com> wrote:
>>
>> Hi,
>>
>> While installing Perl DBI module to connect to Oracle 19c on RedHat 8 VM,
>> I see the below error and the installation fails.
>>
>> /usr/bin/ld: cannot find -lnsl
>> collect2: error: ld returned 1 exit status
>> make: *** [Makefile:524: blib/arch/auto/DBD/Oracle/Oracle.so
>> <http://oracle.so/>] Error 1
>>  ZARQUON/DBD-Oracle-1.83.tar.gz
>>  /usr/bin/make -- NOT OK
>>
>> Has anyone seen this error. Please help to resolve this issue.
>>
>> Thanks.
>>
>> --
>>
>> This (Quran) is a Message for mankind (and a clear proof against them),
>> in order that they may be warned thereby, and that they may know that He is
>> the only One God - (The Creator, Sustainer of all and none has the right to
>> be worshipped but GOD), and that men of understanding may take heed.
>>
>> Holy Quran
>>
>>
>>
>
> --
>
> This (Quran) is a Message for mankind (and a clear proof against them), in
> order that they may be warned thereby, and that they may know that He is
> the only One God - (The Creator, Sustainer of all and none has the right to
> be worshipped but GOD), and that men of understanding may take heed.
>
> Holy Quran
>

Reply via email to