Solved

Cant find lib file?

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

Industry Leaders: 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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.

726 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