LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-23-2008, 09:41 AM   #1
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Rep: Reputation: 15
What package is "libutil" part of?


EDIT: I just realized I put this in the wrong forum. Can a moderator move this for me? Thanks in advance

I'm compiling Python for a small Linux image that comes with Altiris Deployment Solution and I'm missing one of the shared libraries as shown below.

linux-gate.so.1 => (0xb7f8c000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f77000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f73000)
libutil.so.1 => not found
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f4d000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e1c000)
/lib/ld-linux.so.2 (0xb7f8d000)


Where can I get the code to compile that library? Thanks.

Last edited by TheDude05; 10-23-2008 at 09:54 AM.
 
Old 10-23-2008, 10:18 AM   #2
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
I may have just found the answer. Searching through packages on Debian it looks like it comes from the libc6 package.

http://packages.debian.org/search?searchon=contents&keywords=libutil&mode=filename&suite=stable&arch=any

I really hate to rebuild the C library but I guess I might have to.
 
Old 10-23-2008, 12:43 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Example from Debian Etch : libutil.so.1 is a link to
libutil-2.3.6.so ( in /lib )

And Ubuntu 8.04 : a link to libutil-2.7.so

You should never have to change anything in libc.

Your application could be the problem ??

Regards
 
Old 10-23-2008, 02:10 PM   #4
TheDude05
Member
 
Registered: Jan 2005
Distribution: Debian, Ubuntu, RHEL
Posts: 36

Original Poster
Rep: Reputation: 15
The problem is with the Linux image that comes from Deployment Solution. Its a small 32meg "distro" so it doesn't contain a lot of things a normal distribution would, such as the libutil library.

Since my last post I've copied that library from my Kubuntu 8.04 system to the image and it seems to be working so far but that is not always going to be case. If the library in the future uses any of the glibc 2.4 features it will break.

I would like to be able to re-create (i.e recompile) all of the changes I've made to the image in the future but I may just have to settle with this. Thanks for the comments though
 
  


Reply


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
"signal_connect" via package "Gtk2::Window" Rick Hunter Mandriva 5 03-13-2009 07:23 AM
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 06:33 AM
Which Flash Package? "Flashplugin-nonfree" or "flashplayer-mozilla" Zaskar Debian 3 04-02-2008 02:15 AM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:08 PM.

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