DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default UAE

what have I removed that is causing the following error when I start UAE?

/libexec/ld-elf.so.1: Shared object "libxcb.so.1" not found, required by "libcairo.so.2"

EDIT -

actually, this affects GIMP too.

Where can I reinstall elf?
Reply With Quote
  #2   (View Single Post)  
Old 3rd July 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

You can reinstall ld-elf.so.1 by rebuilding it from the FreeBSD source code.

You do not need to touch elf. You need to upgrade software depending on libxcb.so.1 by relinking them against ibxcb.so.2 -- you would know this if you read the UPDATING file before you updated libxcb. It is possible to say use ibxcb.so.2 whenever ibxcb.so.1 is asked for, but you do not want to do this; the question you've asked explains why.


In short, it appears you upgraded libxcb -- and did not upgrade everything that requires the "old version", which was very well documented in the UPDATING file like so:

Quote:
Originally Posted by ports/UPDATING
20090123:
AFFECTS: users of x11/libxcb
AUTHOR: flz@FreeBSD.org

Libxcb shared library version was bumped from 1 to 2. You need to
rebuild any consumer of libxcb.so.1 or some applications will be
linked against two versions of libxcb once libX11 is upgraded.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 4th July 2009
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

libxcb.so.1 is missing, not ld-elf.so (if ld-elf.so were missing you will be at dead end)
libxcb.so.2 is from x11/libxcb

Use portupgrade/portmaster next time.
Reply With Quote
  #4   (View Single Post)  
Old 4th July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default

Right, well. Thanks for that.

What I would point out is that I've tried deinistalling, reinstalling GIMP from the ports also.

So am I supposed to have some kind of flag on my ports make install command?

I do so enjoy brusque replies.
Reply With Quote
  #5   (View Single Post)  
Old 4th July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default

I ugraded all my ports through portmanager, to try and avoid such nastiness.
Reply With Quote
  #6   (View Single Post)  
Old 4th July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default

Could someone please explain to me how to fix this please? Do I need to run the upgrade again, selecting libxcb.so.2 on a program to program basis?
Reply With Quote
  #7   (View Single Post)  
Old 5th July 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Default

You need to rebuild everything that depends on libxcb.
Code:
sudo portupgrade -r x11/libxcb
if you are using portupgrade or
Code:
sudo portmaster -r x11/libxcb
if you are using portmaster instead.

I do not know anything about the 'portmanager' program that you mentioned above.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
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


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick