LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-11-2005, 08:08 AM   #1
hassan2
LQ Newbie
 
Registered: Oct 2004
Location: London, England
Posts: 23

Rep: Reputation: 15
DBD-Oracle perl module


I am trying to install Oracle perl module(DBD-Oracle). MY oracle server runs on solaris 8 while the machine am tring to install DBD-Oracle runs Suse linux 9(SLE 9)

Oracle client library including sqlplus are NFS mount on my suse linux machine from my solaris oracle server but when I run make on DBD-Oracle I get the following error message


cc: unrecognized option `-R/oraclient/product/v8.1.7/lib'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
skipping incompatible /oraclient/product/v8.1.7/lib//libclntsh.so when
searching for -lclntsh
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
cannot find -lclntsh
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible


what am I doing wrough? Can you help, Please

Thanks
 
Old 07-11-2005, 08:56 AM   #2
peter72
Member
 
Registered: Oct 2002
Location: Charlottesville, VA
Distribution: Ubuntu (home), SLES (work)
Posts: 196
Blog Entries: 1

Rep: Reputation: 30
As far as I know, the perl mod for Oracle only works on Perl 5.6. At least this was the case for ActiveState Perl for win32. Also, you are probable better off using CPAN if possible to fetch and install your Perl Modules. Much easier.
 
Old 02-07-2012, 10:56 AM   #3
zogness
LQ Newbie
 
Registered: Apr 2006
Posts: 24

Rep: Reputation: 0
I get the same error using CPAN

/usr/bin/ld: skipping incompatible /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib//libclntsh.so when searching for -lclntsh

Could it be the extra slash in the path?
 
Old 02-20-2012, 04:49 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by zogness View Post
/usr/bin/ld: skipping incompatible /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib//libclntsh.so when searching for -lclntsh

Could it be the extra slash in the path?
Since this original thread is SEVEN YEARS OLD, I doubt it's the same issue now. We can try to help, but you need to open your own thread for your own question, and provide details. What version/distro of Linux are you using? Version of the DBD module? How are you installing it? As root?
 
1 members found this post helpful.
Old 02-22-2012, 10:33 AM   #5
zogness
LQ Newbie
 
Registered: Apr 2006
Posts: 24

Rep: Reputation: 0
Did not notice the extreme age of the original post. Sorry.

I was trying to please my boss, who insisted this module could be installed with only the Oracle instantclient libraries present, and he had me install instantclient 32bit rpms. It turns out the module needs to have the Oracle XE server libraries installed before it can be compiled.

My boss' original plan was to have Oracle 10 XE 32bit server installed on his 64bit RHEL machine. It took me about a week to convince him not to do this. It even took me a few days to convince him there was no such thing as Oracle 10 XE 64bit. Oh well.
 
Old 02-22-2012, 11:28 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by zogness View Post
Did not notice the extreme age of the original post. Sorry.

I was trying to please my boss, who insisted this module could be installed with only the Oracle instantclient libraries present, and he had me install instantclient 32bit rpms. It turns out the module needs to have the Oracle XE server libraries installed before it can be compiled.

My boss' original plan was to have Oracle 10 XE 32bit server installed on his 64bit RHEL machine. It took me about a week to convince him not to do this. It even took me a few days to convince him there was no such thing as Oracle 10 XE 64bit. Oh well.
Wow...good luck with him.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling perl-DBD-MySQL after upgrading to MySQL 4.1 pitaro920 Linux - Software 1 01-16-2006 04:28 PM
perl-DBD-MySQL installation problem kartheekpn Linux - Software 3 09-23-2005 03:01 AM
Error with Perl DBD::mysql ginda Programming 3 03-04-2005 06:20 PM
DBD::ORacle installation nguye103 Linux - Software 0 11-19-2004 03:45 PM
perl DBD::CSV pk21 Programming 0 09-26-2003 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration