115be /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "pg_config" - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old February 7th, 2011, 22:21
LocalEtc LocalEtc is offline
Junior Member
 
Join Date: Feb 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "pg_config"

I am running FreeBSD 8.1 and keep getting this message:

Code:
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "pg_config"
Ultimately I am trying to install munin but it is dying on some perl package... So I just reinstalled gettext and that didn't fix it. Fun, fun! The library is right there:

Code:
[localetc@sumac ~]$  locate libintl.so.8
/usr/local/lib/libintl.so.8
So pg_config is just not looking in the right place? Any suggestions?

Last edited by phoenix; February 7th, 2011 at 22:35. Reason: Please format your posts.
Reply With Quote
  #2  
Old February 7th, 2011, 22:35
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 702 Times in 579 Posts
Default

Are you sure it's there? Running "locate" just queries a database, it doesn't look at the actual filesystem. Do an "ls" for that specific file, and I bet it will come back with "doesn't exist".

By "reinstalling" gettext, you upgraded it, which installed libintl.so.9.

You will need to read the entries in /usr/ports/UPDATING regarding gettext updates, and follow the instructions in there to rebuild all your ports that use gettext.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #3  
Old February 8th, 2011, 03:44
LocalEtc LocalEtc is offline
Junior Member
 
Join Date: Feb 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you so much! Is there an easy way to tell which installed ports depend on gettext? I want to know what I am potentially breaking (this is a production machine)
Reply With Quote
  #4  
Old February 8th, 2011, 04:57
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,706
Thanks: 430
Thanked 1,757 Times in 1,456 Posts
Default

Use pkg_info(1) to get the exact package name, then use it again with the -R option:
Code:
% pkg_info -Ix gettext
gettext-0.18.1.1    GNU gettext package
p5-gettext-1.05_3   Message handling functions
% pkg_info -R gettext-0.18.1.1
(list of literally hundreds of ports omitted)
Reply With Quote
  #5  
Old February 8th, 2011, 05:35
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 702 Times in 579 Posts
Default

-x works with -R, so you can combine them into one command:
$ pkg_info -Rx gettext
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #6  
Old February 8th, 2011, 05:53
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,706
Thanks: 430
Thanked 1,757 Times in 1,456 Posts
Default

-x might match more than wanted, though:
Code:
% pkg_info -Rx gettext | wc -l
     220
% pkg_info -R gettext-0.18.1.1 | wc -l
     213
Reply With Quote
  #7  
Old February 9th, 2011, 18:03
LocalEtc LocalEtc is offline
Junior Member
 
Join Date: Feb 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks guys! still working on this... Interesting I just got caught in a portmaster loop when trying to update gettext:


Code:
===>>> The dependency for lang/php5
       seems to be handled by php5-spl-5.2.11

===>>> Launching child to update php5-spl-5.2.11 to php5-spl-5.3.4
	gettext-0.18.1.1 >> php5-extensions-1.3 >> php5-iconv-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 
>> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-
5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> 
php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-
5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> 
php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-
5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> 
php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-
5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> 
php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-
5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> php5-spl-5.2.11 >> 
php5-spl-5.2.11 >> php5-spl-5.2.11

===>>> Port directory: /usr/ports/devel/php5-spl

===>>> Launching 'make checksum' for devel/php5-spl in background
===>>> Gathering dependency list for devel/php5-spl from ports
over and over! I am just going to deinstall devel/php5-spl because I don't use it but someone might care about this.

Last edited by DutchDaemon; February 9th, 2011 at 19:43.
Reply With Quote
  #8  
Old February 9th, 2011, 18:30
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Quote:
Originally Posted by LocalEtc View Post
Code:
===>>> Launching child to update php5-spl-5.2.11 to php5-spl-5.3.4
From /usr/ports/UPDATING:
Quote:
20100409:
AFFECTS: users of lang/php5
AUTHOR: ale@FreeBSD.org

As of PHP 5.3, a few extensions were removed from or included into the core
PHP5 package. Follow the steps below to update your installation.

1) Delete the following packages (if installed):

- php5-dbase
- php5-ncurses
- php5-pcre
- php5-spl
- php5-ming
- php5-mhash

2) Rebuild lang/php5 and all ports that depend on it.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] /libexec/ld-elf.so.1: Shared object "libjpeg.so.9" not found SeaHag Installation and Maintenance of FreeBSD Ports or Packages 41 July 15th, 2011 21:28
[Solved] Shared object "libintl.so.8" not found bludilnik Installation and Maintenance of FreeBSD Ports or Packages 16 June 17th, 2011 14:04
[Solved] Shared object "libX11.so.6" not found, required by "soffice.bin" alie Installation and Maintenance of FreeBSD Ports or Packages 3 January 21st, 2011 03:31
/libexec/ld-elf.so.1: Shared object "libgcrypt.so.16" not found cabriofahrer Installation and Maintenance of FreeBSD Ports or Packages 13 November 4th, 2010 15:11
getting ERROR /usr/libexec/ld-elf.so.1: Shared object "libsnmp.so.4" not found, akshay_aradhye Web & Network Services 5 February 18th, 2009 22:53


All times are GMT +1. The time now is 21:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0