On 11/10/05, firstname.lastname@example.org wrote:
Thank you for your answer.
I have checked that LD_LIBRARY_PATH is set, and it includes
I check that DBD::Ingres is present (version 0.30).
And i have the following line in my .profile :
Y_PATH; export LD_LIBRARY_PATH
Where's II_SYSTEM set? What is it set to?
Selon Eric Lenio wrote:
On Wed, Nov 09, 2005 at 08:34:39AM -0800, Jonathan Leffler wrote:
On 11/9/05, email@example.com wrote:
I'm having a trouble when i try to execute a simple perl program.
Perl version : 5.6.1.
OS : SunOS 5.8
The source code:
$dbh = DBI->connect( "dbi:Ingres:kpreprod::maj", "kmaj" );
I get the following message :
install_driver(Ingres) failed: Can't load
for module DBD::Ingres: ld.so.1: perl: fatal:
open failed: No
such file or directory at /usr/local/lib/p
erl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where
at test.pl line 8
Which part of the error message don't you understand? Either you don't
DBD::Ingres installed, or you don't have the Ingres libraries that it
depends on installed.
Check that LD_LIBRARY_PATH is set, and it includes
OK - so you're going to have to do some rather detailed tracking. In this
case, ldd is your friend.
I don't recognize libinterp.so - it is not clear to me whether it is
something that is missing, or was the module that couldn't be loaded because
something else was missing.
Step 1: track down libinterp.so -- in extremis: find / -name libinterp.so-print
1A: You can't find libinterp.so: rebuild DBD::Ingres (let's hope you don't
need to rebuild Perl + DBI too).
1B: You find libinterp.so - it is part of Perl.
Run ldd on Ingres.so and see which shared libraries it can find - and which
* This one:
Fix things so everything is found.
1C: You find libinterp.so - it is part of Ingres.
Run ldd on libinterp.so and see which shared libraries it can't find.
For missing libraries, do a scan (if necessary 'find / -name "*libwhatnot*"
-print') to see whether they're on the system. If not, rebuild DBD::Ingres.
Actually, if you want to short circuit the investigation - rebuild, retest,
Jonathan Leffler <firstname.lastname@example.org> #include <disclaimer.h>
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."