Solved

Cant find lib file?

Posted on 2001-09-15
3
438 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

696 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