niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » Perl » modules
DBI_DB2 problems
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
enoumen@gmail.com
*nix forums beginner


Joined: 02 Jun 2006
Posts: 2

PostPosted: Fri Jun 02, 2006 9:24 pm    Post subject: DBI_DB2 problems Reply with quote

I have problems accessing my DB2 database via CGI in web application. I
am receiving this error:
install_driver(DB2) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/DB2/DB2.so'
for module DBD::DB2: libdb2.so.1: cannot open shared object file: No
such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 22) line 3
Compilation failed in require at (eval 22) line 3.
Perhaps a required shared library or dll isn't installed where expected
at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Bio/DB/Das/Chado.pm
line 135

I have read on googlegroup that i should setenv the LD_LIBRARY_PATH in
my httpd.conf but i don't know how to do that.
Theres is nothing about that variable in my httpd.conf
Do you know how i can set that variable or is there any other solution?
thank you
xris
Back to top
harryfmudd [AT] comcast [
*nix forums addict


Joined: 15 Oct 2005
Posts: 82

PostPosted: Fri Jun 02, 2006 11:41 pm    Post subject: Re: DBI_DB2 problems Reply with quote

enoumen@gmail.com wrote:
Quote:
I have problems accessing my DB2 database via CGI in web application. I
am receiving this error:
install_driver(DB2) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/DB2/DB2.so'
for module DBD::DB2: libdb2.so.1: cannot open shared object file: No
such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 22) line 3
Compilation failed in require at (eval 22) line 3.
Perhaps a required shared library or dll isn't installed where expected
at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Bio/DB/Das/Chado.pm
line 135

I have read on googlegroup that i should setenv the LD_LIBRARY_PATH in
my httpd.conf but i don't know how to do that.
Theres is nothing about that variable in my httpd.conf
Do you know how i can set that variable or is there any other solution?
thank you
xris


It sounds to me like you think you have an Apache configuration problem.
If your CGI script runs interactively, I agree with you.

Have you tried reading the Apache documentation?

Have you tried asking in an Apache-oriented newsgroup?

Tom Wyant
Back to top
enoumen@gmail.com
*nix forums beginner


Joined: 02 Jun 2006
Posts: 2

PostPosted: Sun Jun 04, 2006 7:08 pm    Post subject: Re: DBI_DB2 problems Reply with quote

Hi Harry,
thanks for your message. If this can help anyone, I took my chance and
i solved it by adding to my httpd.conf the line
setenv LD_LIBRARY_PATH /home/db2insts1/sqllib/lib which is the path
to the required DB2 library.

harryfmudd [AT] comcast [DOT] net wrote:
Quote:
enoumen@gmail.com wrote:
I have problems accessing my DB2 database via CGI in web application. I
am receiving this error:
install_driver(DB2) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/DB2/DB2.so'
for module DBD::DB2: libdb2.so.1: cannot open shared object file: No
such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 22) line 3
Compilation failed in require at (eval 22) line 3.
Perhaps a required shared library or dll isn't installed where expected
at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Bio/DB/Das/Chado.pm
line 135

I have read on googlegroup that i should setenv the LD_LIBRARY_PATH in
my httpd.conf but i don't know how to do that.
Theres is nothing about that variable in my httpd.conf
Do you know how i can set that variable or is there any other solution?
thank you
xris


It sounds to me like you think you have an Apache configuration problem.
If your CGI script runs interactively, I agree with you.

Have you tried reading the Apache documentation?

Have you tried asking in an Apache-oriented newsgroup?

Tom Wyant
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 4:55 am | All times are GMT
navigation Forum index » Programming » Perl » modules
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Winbind problems for ADS authentication nlinley networking 1 Tue Sep 19, 2006 9:22 am
No new posts problems using oddmuse with mod_perl2 inside apache2.2 pe... Fergus McMenemie Perl 0 Fri Jul 21, 2006 9:48 am
No new posts Problems with make-kpkg and skas patch Todd A. Jacobs Debian 0 Fri Jul 21, 2006 12:30 am
No new posts Problems with relay control Félix Martos Trenado Postfix 3 Thu Jul 20, 2006 3:33 pm
No new posts again a newbie... :( compiler problems Thorsten Kaben C++ 18 Thu Jul 20, 2006 2:52 am

Loans | Remortgaging | El libro de los nombre | Just Holden Commodores | Photography
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2553s ][ Queries: 16 (0.1346s) ][ GZIP on - Debug on ]