Problem with LD_LIBRARY_PATH


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Problem with LD_LIBRARY_PATH
# 8  
Old 09-24-2013
What has the dev box more than this one?
What part of server-express are you running or is it running?
What is the current value of your LD_LIBRARY_PATH ?
# 9  
Old 09-24-2013
Hi,
Are you sure that you set LD_LIBRARY_PATH to one and only one line ?
Regards.
# 10  
Old 09-25-2013
Quote:
Originally Posted by vbe
What has the dev box more than this one?
What part of server-express are you running or is it running?
What is the current value of your LD_LIBRARY_PATH ?
Hi vbe,

Dev-box LD_LIBRARY_PATH HAS MORE CONTENT.(I MESSAGED YOU THE content).
I am not aware of the server-express.How can i check it and what is it?
Current value of LD_LIBRARY_PATH (in QA) i have mentioned in my earlie post.Can you please see.
Can you tell what is exactly LD_LIBRARY_PATH .

My script in QA is also not able to take parameters at runtime while it takes it in DEV(thats not a big issue though).

---------- Post updated at 12:43 PM ---------- Previous update was at 12:42 PM ----------

Quote:
Originally Posted by disedorgue
Hi,
Are you sure that you set LD_LIBRARY_PATH to one and only one line ?
Regards.

Yes i set it in one line

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
# 11  
Old 09-25-2013
It is through my mistake (accidentally closing your thread when I meant to subscribe to it) that you resorted to messaging vbe. For everyone's benefit you should post the contents of that message here. Thanks, and sorry about that Smilie

May I also suggest that instead of setting the Oracle environment yourself, you use the oraenv command. It also has something to add to LD_LIBRARY_PATH.

Code:
ORAENV_ASK=NO
ORACLE_SID=my_db_sid
. oraenv

# 12  
Old 09-25-2013
Quote:
Originally Posted by Scott
It is through my mistake (accidentally closing your thread when I meant to subscribe to it) that you resorted to messaging vbe. For everyone's benefit you should post the contents of that message here. Thanks, and sorry about that Smilie

May I also suggest that instead of setting the Oracle environment yourself, you use the oraenv command. It also has something to add to LD_LIBRARY_PATH.

Code:
ORAENV_ASK=NO
ORACLE_SID=my_db_sid
. oraenv

Hi Scott,

My Dev environment LD_LIBRARY_PATH
This has nothing to do with oracle environment as i am able to connect to Oracle database.

Code:
/arbor/integ_fx/bsdm_site/site_specific/apits/javaclient/lib32:
/app/tuxedo/tuxedo9.0/lib:/app/weblogic/bea-integfx/patch_weblogic910/profiles/default/native:
/arbor/integ_fx/bsdm_site/site_specific/apits/javaclient/lib32
:/app/tuxedo/tuxedo9.0/lib:/app/weblogic/bea-integfx/patch_weblogic910/profiles/default/native:
/app/weblogic/bea-integfx/weblogic91/server/native/solaris/sparc
:/app/weblogic/bea-integfx/weblogic91/server/native/solaris/sparc/oci920_8:
/var/opt/oracle/product/10g/lib:/arbor/3p/rosette/lib:
/arbor/3p/ACE_wrappers/bin:/arbor/3p/python/lib:
/arbor/3p/perl/lib:/arbor/3p/xerces/lib:/arbor/3p/xalan/lib:
/app/tuxedo/tuxedo9.0/lib:/arbor/integ_fx/configurator_fx_site/lib:/arbor/integ_fx/ordering_site/lib
:/arbor/integ_fx/bsdm_site/lib:/arbor/integ_fx/site_specific/lib:/arbor/integ_fx/arm_site/lib:/usr/java
/jre/lib/sparcv9/server:/usr/java/jre/lib/sparcv9/server/..:/lib:/arbor/3p/pgsql/lib:
/arbor/integ_fx/opcntr/agent/libs:/arbor/integ_fx/opcntr/tools/apache/modules
:/arbor/integ_fx/opcntr/cc/libs:/arbor/3p/apache/lib:/arbor/3p/openssl/lib
:/arbor/integ_fx/DataBlitz/lib:/lib:/usr/lib:/lib:/var/opt/oracle/product/10g/lib:/usr/cobol/lib
:/arbor/integ_fx/workflow_site/lib:/arbor/integ_fx/workpoint_site/lib:/arbor/integ_fx/inventory_site/lib:
/arbor/3p/quantum/v3.2/lib:/var/opt/oracle/product/10g/lib:/var/opt/oracle/product/10g/lib32
:/var/opt/oracle/product/920/lib:/app/weblogic/bea-integfx/weblogic91/server/native/solaris/sparc:/app/weblogic/bea-integfx/weblogic91/server/native/solaris/sparc/oci920_8:/var/opt/oracle/product/10g/lib:/arbor/3p/rosette/lib:/arbor/3p/ACE_wrappers/bin
:/arbor/3p/python/lib:/arbor/3p/perl/lib:/arbor/3p/xerces/lib:/arbor/3p/xalan/lib
:/app/tuxedo/tuxedo9.0/lib:/arbor/integ_fx/configurator_fx_site/lib
:/arbor/integ_fx/ordering_site/lib
:/arbor/integ_fx/bsdm_site/lib:/arbor/integ_fx/site_specific/lib:/arbor/integ_fx/arm_site/lib:/usr/java/jre/lib/sparcv9/server
:/usr/java/jre/lib/sparcv9/server/..:/lib:/arbor/3p/pgsql/lib:/arbor/integ_fx/opcntr/agent/libs
:/arbor/integ_fx/opcntr/tools/apache/modules:/arbor/integ_fx/opcntr/cc/libs:/arbor/3p/apache/lib:/arbor/3p/openssl/lib
:/arbor/integ_fx/DataBlitz/lib:/lib:/usr/lib:/lib:/var/opt/oracle/product/10g/lib:/usr/cobol/lib:/arbor/integ_fx/workflow_site/lib
:/arbor/integ_fx/workpoint_site/lib:/arbor/integ_fx/inventory_site/lib:/arbor/3p/quantum/v3.2/lib:/var/opt/oracle/product/10g/lib
:/var/opt/oracle/product/10g/lib32:/var/opt/oracle/product/920/lib

# 13  
Old 09-25-2013
Yes, the suggestion to use oraenv was not intended as a solution to your problem, only to save you from caring about the technical details about the location of your databases software.

What is the value of COBDIR, and did you add it (+ /lib) to the library path? Does that library (librc.so) exist?
# 14  
Old 09-25-2013
Quote:
Originally Posted by Scott
Yes, the suggestion to use oraenv was not intended as a solution to your problem, only to save you from caring about the technical details about the location of your databases software.

What is the value of COBDIR, and did you add it (+ /lib) to the library path?
Hi Scott,

value of echo $COBDIR(both in qa and dev)


/opt/microfocus/cobol

do i have to add this in LD_LIBRARY_PATH

How can i check librc.so exists or not?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Why LD_LIBRARY_PATH did not work but LDFLAGS did?

Hello, a few moments ago, I tried to compile lynx. It complained about the lack of ncurses. I downloaded it, compiled it and then installed it to non standard directory. Going back to the lynx, I expected to pass ncurses location to it through a .pc file and PKG_CONFIG_PATH. However the version... (5 Replies)
Discussion started by: colt
5 Replies

2. Shell Programming and Scripting

Ld_library_path

Hi., Currently my LD_LIBRARY_PATH setting is, LD_LIBRARY_PATH=/opt/app/product/11.2.0/client_1/lib Now, I need to append the JAVA to this setting... Can I set this way, Please suggest. ... (4 Replies)
Discussion started by: nuthakki
4 Replies

3. AIX

Set LD_LIBRARY_PATH to 1 or empty

I have a question on setting environmental variable LD_LIBRARY_PATH. The case is that, i cannot execute wget on my AIX machine. It return the following error: exec(): 0509-036 Cannot load program wget because of the following errors: 0509-022 Cannot load module... (5 Replies)
Discussion started by: cstsang
5 Replies

4. Shell Programming and Scripting

updating LD_LIBRARY_PATH

Inside my csh script, I have the following command: source ${HOME}/.login When I execute my csh script, why do I get the following error message: /cygdrive/c/WINDOWS/system32/export: Permission denied This is what I have inside my .login #!/bin/bash export... (9 Replies)
Discussion started by: casau
9 Replies

5. Solaris

setenv: cannot add the LD_LIBRARY_PATH

Hi all! I need to add new environment variable. e.g. # setenv LD_LIBRARY_PATH "/usr/ucblib:" # I check:# env LD_LIBRARY_PATH=/usr/ucblib: After rebooting I don't see this variable. Why don't save this variable? Thanks. (5 Replies)
Discussion started by: wolfgang
5 Replies

6. HP-UX

SHLIB_PATH or LD_LIBRARY_PATH

hi Im using HP-UX 11i,PARISC .... Where do i find SHLIB_PATH or LD_LIBRARY_PATH , i couldnt find in env, listing...... Moreover im trying to execute file its throwing me error usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl /usr/lib/dld.sl: No such file or directory... (3 Replies)
Discussion started by: vasanthan
3 Replies

7. UNIX for Advanced & Expert Users

Difference between LIB_PATH and LD_LIBRARY_PATH

I would like to know the differences between LIB_PATH and LD_LIBRARY_PATH on Linux and SunOS. I am getting an error while loading shared libraries on Linux (Omni works build environment) as shown below: 1:tradewind/dataaccess/*.pcc... (1 Reply)
Discussion started by: shafi2all
1 Replies

8. UNIX for Dummies Questions & Answers

Ld_library_path

Hi, can anyone explain this terrm? should we setup it ? Thanks (1 Reply)
Discussion started by: ccp
1 Replies

9. UNIX for Dummies Questions & Answers

Bash LD_LIBRARY_PATH?

Hello I have just tried to install ns-allineone-2.31 on cygwin cygwin is using the bash shell it asks for somethings to be put into the LD_LIBRAY_PATH, here is a snippet of what it says. (1) You MUST put /home/Chris/ns-allinone-2.31/otcl-1.13, /home/Chris/ns-allinone-2.31/lib, into your... (1 Reply)
Discussion started by: bysonary
1 Replies

10. UNIX for Advanced & Expert Users

cc, setuid, and LD_LIBRARY_PATH

Hi, This question deals with Solaris 2.8 and setuid programs. From research I've done so far, setuid programs ignore LD_LIBRARY_PATH; I've proven this and am OK with it. The thing I am not certain of how the C compiler is supposed to behave when it is invoked via a setuid program. Basically,... (0 Replies)
Discussion started by: WolfBoy
0 Replies
Login or Register to Ask a Question