DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th November 2010
yggdrasil yggdrasil is offline
New User
 
Join Date: Oct 2010
Posts: 5
Default Can't install package because of libraries

Hi all,

I just wiped my old install from my Lenovo G555 and freshly installed 4.8/amd64. I installed my packages, everything seemed to work quite nicely. Then I wanted to test out the current gnash-packages. This was when it started with the library-errors. From that point on, even packages of programs that work cannot be deleted and then reinstalled without errors like

Can't install dnstracer-1.9 because of libraries
|library c.53.1 not found
| /usr/lib/libc.so.56.0 (system): bad major

Google doesn't seem to find anything useful. Any hints? Thanks in advance.
Reply With Quote
  #2   (View Single Post)  
Old 28th November 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,129
Default

See http://openbsd.org/faq/faq15.html#PkgFAQ
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 28th November 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,979
Default

When you mentioned current, did you mean the -current flavor of the OS? If so, read FAQ 15.4.1. It applies to such a situation.
Reply With Quote
  #4   (View Single Post)  
Old 28th November 2010
yggdrasil yggdrasil is offline
New User
 
Join Date: Oct 2010
Posts: 5
Default

No, when I wrote "the current gnash-package" I just meant the one that is prebuild for the 4.8-release version of the OS. I have NOT used ports at all at that moment. Sorry, it was late last night and I didn't catch up on the double meaning of "current".

I just tried out the ports system (based on a downloaded ports.tar.gz, so it should definitly be in sync with my 4.8-release), that seems to work. At least I could build a working dnstracer out of it.

I'm very much thinking about reinstalling again. Should I decide to do so: can you think of any information that I should grab beforehand that might help the developers?
Reply With Quote
  #5   (View Single Post)  
Old 28th November 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,979
Default

I don't think the developers need be involved. It appears to me that your problem comes from using a $PKG_PATH variable pointing to the wrong release.

In my nearest mirror, /pub/OpenBSD/4.8/packages/amd64/dnstracer-1.9.tgz contains the following in its +CONTENTS file:
Code:
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:17:39 espie Exp $
@name dnstracer-1.9
@comment subdir=net/dnstracer cdrom=yes ftp=yes
@arch amd64
+DESC
@sha 9l6wjru1wA2O+puxVXk+oSeJ8jTomo7NAWfJCepnchM=
@size 371
@wantlib c.56.0
@cwd /usr/local
bin/dnstracer
@sha JEopCsBHa5YNYXaJaXAYWnDgZ55I1a4RsD6KpOAbMkw=
@size 28064
@man man/man8/dnstracer.8
@sha TYAlq02h0K3Mj0UcUP1j9WWfgD/i03NzhSJLy1R3VPE=
@size 7081
The same package in /pub/OpenBSD/4.7/packages/amd64/ contains:
Code:
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 18:17:39 espie Exp $
@name dnstracer-1.9
@comment subdir=net/dnstracer cdrom=yes ftp=yes
@arch amd64
+DESC
@sha 9l6wjru1wA2O+puxVXk+oSeJ8jTomo7NAWfJCepnchM=
@size 371
@wantlib c.53.1
@cwd /usr/local
bin/dnstracer
@sha C4Rr92eX0w71SrsPQgqDRoMAYJJK29VU+gZ3kmwm1I0=
@size 27848
@man man/man8/dnstracer.8
@sha TYAlq02h0K3Mj0UcUP1j9WWfgD/i03NzhSJLy1R3VPE=
@size 7081
Looks like operator error to me.
Reply With Quote
  #6   (View Single Post)  
Old 29th November 2010
yggdrasil yggdrasil is offline
New User
 
Join Date: Oct 2010
Posts: 5
Default

Turns out that, yes, I am indeed to stupid to be allowed near a computer. Long story short: installed OBSD, set PKG_PATH, installed my usual packages, then I unpacked a backup of my homedir, which of course overwrote my newly defined PKG_PATH *facepalm*

Sorry for wasting your time.
Reply With Quote
  #7   (View Single Post)  
Old 29th November 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,979
Default

Not a time waste at all.

Been there, done that.
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
Need help-binary package install bsdadmin NetBSD Installation and Upgrading 11 29th October 2009 05:08 AM
Package install error. delboy FreeBSD Ports and Packages 10 25th March 2009 05:54 PM
uninstall xorg libraries for a server adrian_m FreeBSD Ports and Packages 1 26th January 2009 11:01 PM
I386 ELF32 binary on AMD64 system can't find shared libraries Gemini FreeBSD General 0 9th December 2008 06:49 AM
shared libraries and linux emulation Business_woman FreeBSD General 4 16th November 2008 10:03 AM


All times are GMT. The time now is 10:08 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