Solved

Cant find lib file?

Posted on 2001-09-15
3
427 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now