• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Shared Library Path

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to start the weblogic server 5.1 on my linux machine. After I execute the startWebLogic.sh file, the following error appears :
-bash: Dont know how to set the shared library path for Linux
bash: /usr/java/bin/java: No such file or directory
How do I fix this ?
Thanks
Nikhil
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not as "fluent" in Linux, as in other Unixes, but basically you need to set a Unix shell environment variable that points to the libraries necessary to load/run your programs. Once the variable is properly set, the loader can pick and choose between the (usually) libraries listed there.
I think the variable name for Linux is LD_LIBRARY_PATH, and setting it varies; you may or may not want to preserve your existing setting:
Korn:
export LD_LIBRARY_PATH=<your path to libraries>
Bourne:
LD_LIBRARY_PATH=<your path to libraries>
export LD_LIBRARY_PATH
C-shell:
setenv LD_LIBRARY_PATH = <your path to libraries>
If you know a library needed for your program, one method of locating the necessary subdirectory would be with a Unix "find" command:
find / -name "<library name here>" -print
(This is sort of an "expensive" command, but if you don't share the machine, who cares!)
Hope this helps!
Mark Hutchison
 
reply
    Bookmark Topic Watch Topic
  • New Topic