Avatar of tomar_10
tomar_10Flag for India asked on

Error: Unable to find library 'libclntsh.sl.10.1'.

i am trying to create arcSde service for oracle 10g in HPunix server .
Error: Unable to find library 'libclntsh.sl.10.1'.
screen shot is attached.
arcsde is esri software.
error.jpg
Oracle Database

Avatar of undefined
Last Comment
schwertner

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
schwertner

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
tomar_10

Getting this error

rm: /opt/vendor/oracle/10.2/OraHome10g/lib/libclntsh.so.10.1 not removed.  Text file busy
genclntsh: Failed to remove /opt/vendor/oracle/10.2/OraHome10g/lib/libclntsh.so.10.1
schwertner

Why you remove it?
If it is there create the environment variable.
ASKER
tomar_10

when we run this command genclntsh, it is giving that error .
secondly we have this  libclntsh.so.10.1 and we need 'libclntsh.sl.10.1'

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER
tomar_10

we have stop the oracle database and then re run this command genclntsh now it runs sucessfully . after that we have run second command
make -f demo_rdbms.mk build_nopthread EXE=oci02 OBJS=oci02.o
it shows error:-
Make: Cannot open demo_rdbms.mk.  Stop.
schwertner

Find where this file is located.
Normally it resides in /home/oracle/rdbms/demo/
ASKER
tomar_10

how can we get this library 'libclntsh.sl.10.1'
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
schwertner

I think your current directory is not ......./rdbms/demo/
Find where it is and change so:
make -f    ......./rdbms/demo/demo_rdbms.mk    build_nopthread EXE=oci02 OBJS=oci02.o

Alternativelly you can add this directory to the PATH or possibly to LD_LIBRARY_PATH environment variable.
This could be figured out also on the Unix thread of EE.
ASKER
tomar_10

Showing the following error

$ make -f demo_rdbms64.mk build_nopthread EXE=oci02 OBJS=oci02.o
Make: Don't know how to make oci02.o.  Stop.
ASKER
tomar_10

waiting for your response
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
schwertner

I think your Unix installation is wrong.
have you set all needed Oracle environment variables
according the rules.
Read carefully the Oracle Unix installation guide and
postinstallation tasks and check if everything is well done.