Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-11-2009, 09:42 AM   #1
Registered: May 2008
Posts: 41

Rep: Reputation: 15
Unhappy where i get " " library file

Hi all,
I install rpmbuild with --nodeps option. It get installed. But now when i am using rpmbuild command to build i get below shown error.

#rpmbuild -ba unixODBC-2.2.15pre
rpmbuild: error while loading shared libraries: cannot open shared object file: No such file or directory

I knew it needs file. but i searched all sites i didnt get the file.

please send the link if you know to download
provide some other rpmbuild.rpm which can be use fairly.

Thanks and regards
Old 06-11-2009, 10:00 AM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Well... there are a lot of distribution based on rpm. Which one are you running on? First, you should try to install the rpmbuild package provided by the official repository of your distro (e.g. by means of Add/Remove software or Yast, or yum, or zypper....) so that it will take care of dependencies automatically.

Edit: I checked on my system (Opensuse 11.1) and the librpmbuild shared library is provided by the rpm package (as well as the rpmbuild command). I suspect you have downloaded a wrong version of rpmbuild and the shared library is not where it is expected to be. You can verify the required libraries using
ldd $(which rpmbuild)
in any case I will stick with the official packages.

Last edited by colucix; 06-11-2009 at 10:04 AM.
Old 06-11-2009, 10:03 AM   #3
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 06:58 AM
Command "mail" returns "panic: temporary file seek" kenneho Linux - Software 5 12-23-2008 03:27 AM
conversion of dynamic ".so" library to ststic ".a" library aashaysood Linux - Hardware 2 07-02-2006 11:15 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration