LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-02-2005, 04:12 PM   #1
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Rep: Reputation: 30
install sfotware on Linux issue


hi all,

below is what I have on my .bashrc:


#SDE

export SDEHOME=/opt/sde/sdeexe91
export ORACLE_HOME=/opt/oracle/product/9.2.0
export ORACLE_SID=LANDDEV
export TNS_ADMIN=$ORACLE_HOME/network/admin
export PATH=$PATH:$SDEHOME/bin:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$SDEHOME/lib:$ORACLE_HOME/lib
export ESRI_ARCSDE_LICENSE_FILE=27005@test


when I tried to run the set up I got the below errors:



[sde@test bin]$ ls
cov2sde sde2cov sdeexport sdelocator sdesetupora9i shp2sde
giomgr sde2shp sdegcdrules sdelog sdetable shpinfo
gsrvr sde2tbl sdegroup sdemon sdeversion tbl2sde
gsrvr.shared sdeconfig sdeimport sderaster sdexinfo
gsrvr.static sdedbtune sdelayer sderemote sdexml
[sde@test bin]$ ./sdesetupora9i -o install
./sdesetupora9i: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory


I strongly believe I am missing something in env and I am not what.

could someone please give me some suggestion???
thanks,

Last edited by ashley75; 06-02-2005 at 04:13 PM.
 
Old 06-02-2005, 04:23 PM   #2
asb
Member
 
Registered: Jul 2003
Location: portland
Distribution: debian testing
Posts: 68

Rep: Reputation: 15
sounds like you need to install, or reinstall libstdc++.so.5
 
Old 06-02-2005, 04:34 PM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
libstdc++.so.5 is supplied by the libstdc++5 package in Debian, and by libstdc++-v3 in Gentoo. Names for the package will most likely be different but similar in other distributions.


Håkan
 
Old 06-02-2005, 04:36 PM   #4
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
Hi,

when I put the REDHAT CDs in, I coudn't find anything under the name that you mentioned missing. I am not sure what to do now.

thanks,
 
Old 06-02-2005, 04:41 PM   #5
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
Please give me some instruction/hint since I am not Linux admin.

thanks all
 
Old 06-02-2005, 05:09 PM   #6
asb
Member
 
Registered: Jul 2003
Location: portland
Distribution: debian testing
Posts: 68

Rep: Reputation: 15
a google search for this show up with compat-libstdc++. Try that, but don't hold me to it, i don't use redhat
 
Old 06-03-2005, 06:35 AM   #7
sadun
Member
 
Registered: Mar 2005
Posts: 48

Rep: Reputation: 15
Hi,

Did you set kernel parameters for oracle it seems the values for shared structure is low. Look Oracle installation guide for kernel parameters value and set them in your system. And be sure to not installing ldap, kerberos etc when installing Redhat since Oracle comes with its own. You cant install oracle with sde user it must be oracle user who has oinstall main group and dba second group. Btw i cant see ORACLE_BASE environment. Did you follow installation guide? It is very difficult to install oracle without it even for experts.

Last edited by sadun; 06-03-2005 at 06:41 AM.
 
Old 06-03-2005, 08:10 AM   #8
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
I already had Oracle running and everything is running fine. SDE is another software and had nothing to do with Oracle, I am trying to install SDE on the same box. I had changed the kernel before I install Oracle.

please advise.
 
Old 06-03-2005, 08:48 AM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
ashley75,

The package your most likely looking for to get the particular library is compat-libstdc++-<version#>.rpm
 
Old 06-03-2005, 09:11 AM   #10
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
Hi all,


below is what I got on the server

[sde@test sde]$ rpm -q gcc cpp compat-libstdc++ glibc-devel kernel-headers binutils
gcc-2.96-108.1
cpp-2.96-108.1
compat-libstdc++-6.2-2.9.0.16
glibc-devel-2.2.4-26
kernel-headers-2.4.9-e.3
binutils-2.11.90.0.8-12


so compat-libstdc++ was already installed on the server.



Also, Below is what the response from the vendor:

The reason why your system can find your shared libraries during the execution of the setup script is because you haven't declared where all of these libraries are. And because of this your ArcSDE service won't be able to start once the setup command finishes executing, either.

In order to fix your shared libraries problem you're going to need to create or redefine the following system environmental variable "LD_LIBRARY_PATH" so that it can find where these shared libraries are.

I suspect that if you create or modify this environmental variable, it might look like my definition here but if it doesn't that's ok, just as long as your's has the "SDEHOME/lib:" and your "ORACLE_HOME/lib:" placed at the front of the path of the LD_LIBRARY_PATH variable. This will fix your problem.



Below is what I have in my env:


#SDE 9.1

export SDEHOME=/opt/sde/sdeexe91
export ORACLE_HOME=/opt/oracle/product/9.2.0
export ORACLE_SID=LANDDEV
export TNS_ADMIN=$ORACLE_HOME/network/admin
export PATH=$PATH:$SDEHOME/bin:$ORACLE_HOME/bin
#export LD_LIBRARY_PATH=$SDEHOME/lib:$ORACLE_HOME/lib
export ESRI_ARCSDE_LICENSE_FILE=27005@qhou_test
export LD_LIBRARY_PATH=$SDEHOME/lib:$SDEHOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

Do you think I need to install the package as mentioned above to fix my issue???

thanks

Last edited by ashley75; 06-03-2005 at 09:23 AM.
 
Old 06-03-2005, 09:55 AM   #11
sadun
Member
 
Registered: Mar 2005
Posts: 48

Rep: Reputation: 15
Quote:
[sde@test bin]$ ls
so what is that? You need to do all your jobs about oracle with your oracle user.
 
Old 06-03-2005, 10:05 AM   #12
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
no, please .

as I said many times, this is on different user not ORACLE. it's on SDE
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
x3270 Install issue jlueke Linux - Software 0 11-21-2005 03:33 PM
Suse install issue amishmonkey SUSE / openSUSE 1 09-10-2005 07:24 PM
Expect install issue rickseiden Linux From Scratch 0 11-01-2004 08:09 PM
ATI Linux Debian Driver Install Issue pjpeter Debian 6 09-27-2004 06:28 PM
install issue barbieparty Mandriva 15 08-14-2004 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:16 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