?
Solved

Cant find lib file?

Posted on 2001-09-15
3
Medium Priority
?
440 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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
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…
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 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