Solved

Cant find lib file?

Posted on 2001-09-15
3
435 Views
Last Modified: 2010-04-21
I am trying to compile and run bing:
(http://fgouget.free.fr/bing/index-en.shtml, bing_src-1.1.3.tar.gz)
on a sun solaris box. it compiles file but when I try to run it I get the message:

ld.so.1: bing: fatal: libucb.so.1: open failed: No such file or directory
Killed

the "ldd bing" command produces the following:
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libucb.so.1 =>   (file not found)
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1

finally, I checked and found the file..:

# find . -name 'libucb.so*'
./usr/ucblib/libucb.so
./usr/ucblib/libucb.so.1
./usr/ucblib/sparcv9/libucb.so
./usr/ucblib/sparcv9/libucb.so.1
#

Anybody have a clue?

Thanks,
Austin.
0
Comment
Question by:AustinKalb
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
mnashadka earned 100 total points
ID: 6485288
Make sure that your LD_LIBRARY_PATH environment variable has an entry in it for one of these directories:

(In some shells)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/ucblib

Hope this helps.
0
 

Author Comment

by:AustinKalb
ID: 6485470
that was all it took. thanks!
0
 
LVL 8

Expert Comment

by:mnashadka
ID: 6486003
Glad I could help.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question