Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Perl CGI and DBD::Oracle problem


  • Subject: Re: lug-bg: Perl CGI and DBD::Oracle problem
  • From: Romeo Ninov <rninov@xxxxxxx>
  • Date: Mon, 01 Sep 2003 15:58:42 +0300

Пробвай да сложиш пътя към oracle библиотеките в /etc/ld.so.conf (или както се казваше там) и след това изпълни ldconfig -v за да си сигурен че библиотеката я има в пътя.
Спри web сървъра и го пусни пак

Dinko Ivanov wrote:
Zdrawejte grupa!
Problema mi e sledniya: pri izvikvane na connection kam Oracle DB ot perl cgi script mi izliza slednata gre6ka:

****************************************
Software error:

install_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.9.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
 at (eval 26) line 3
Compilation failed in require at (eval 26) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at /var/www/cgi-bin/test_oracle.cgi line 69
**********************************************

samata connection ya pravya po sledniya na4in:

*****************************************
my $dbh = DBI->connect( "dbi:Oracle:host:127.0.0.1; SID='test' ", 'scott', 'tiger', { AutoCommit => 0, RaiseError => 1, PrintError => 0 } )or die $DBI::errstr;
*********************************************
a pri izvikvaneto na tozi red w obiknoven perl script - raboti normalno i ustanovyava connection.... problema e samo pri cgi script i samo pri Oracle DB (pri vrazka s mySQL - sa6to nyama problem) .....



--
<><><><><><><><><><><><><><><><>
            Regards: Romeo Ninov
<><><><><><><><><><><><><><><><>

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.