LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   install sfotware on Linux issue (https://www.linuxquestions.org/questions/linux-general-1/install-sfotware-on-linux-issue-329686/)

ashley75 06-02-2005 04:12 PM

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,

asb 06-02-2005 04:23 PM

sounds like you need to install, or reinstall libstdc++.so.5

hw-tph 06-02-2005 04:34 PM

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

ashley75 06-02-2005 04:36 PM

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,

ashley75 06-02-2005 04:41 PM

Please give me some instruction/hint since I am not Linux admin.

thanks all

asb 06-02-2005 05:09 PM

a google search for this show up with compat-libstdc++. Try that, but don't hold me to it, i don't use redhat

sadun 06-03-2005 06:35 AM

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.

ashley75 06-03-2005 08:10 AM

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.

trickykid 06-03-2005 08:48 AM

ashley75,

The package your most likely looking for to get the particular library is compat-libstdc++-<version#>.rpm

ashley75 06-03-2005 09:11 AM

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

sadun 06-03-2005 09:55 AM

Quote:

[sde@test bin]$ ls
so what is that? You need to do all your jobs about oracle with your oracle user.

ashley75 06-03-2005 10:05 AM

no, please .

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


All times are GMT -5. The time now is 10:09 AM.