perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John D Groenveld <jdg...@elvis.arl.psu.edu>
Subject Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?
Date Tue, 22 Oct 2013 12:00:58 GMT
In message <A96B01B5-EC17-46E4-BBD5-59C314103D9E@Pharmacy.Arizona.EDU>, Bruce J
ohnson writes:
>when I run it with /bin/env -i I get:
>
>/bin/env -i /usr/bin/ldd /usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so
>linux-vdso.so.1 =3D>  (0x00007fff2d9ff000)
>libocci.so.11.1 =3D> not found
>libclntsh.so.11.1 =3D> not found
>libpthread.so.0 =3D> /lib64/libpthread.so.0 (0x00007f55049da000)
>libc.so.6 =3D> /lib64/libc.so.6 (0x00007f5504647000)
>/lib64/ld-linux-x86-64.so.2 (0x00007f5504e43000)
>
>However I don't understand what this means...

It means that you should rebuild DBD::Oracle but add the -rpath
option to the LDFLAGS in the generated Makefile to properly hint
the runtime linker where to find the Oracle Instant Client libraries.

Then you should find every instance of LD_LIBRARY_PATH= in
the shell init files in /etc as well as the ones in your
Apache configuration and remove them.

My WAG is that the Oracle packages for Unbreakable Linux
*un*helpfully added LD_LIBRARY_PATH=/path/to/instantclient_11_2
to your /etc/profile and friends.

John
groenveld@acm.org

Mime
View raw message