Missing libraries.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing libraries.

Kihaguru Gathura-2
Hi,

Any ideas on how to fix the missing libraries,

www# pkg_add -v mini_sendmail-chroot
Update candidates: quirks-3.91 -> quirks-3.91
quirks-3.91 signed on 2019-02-10T22:07:56Z
Can't install mini_sendmail-chroot-1.3.9 because of libraries
|library c.95.0 not found
| /usr/lib/libc.so.92.6 (system): bad major
Couldn't install mini_sendmail-chroot-1.3.9
www#

www# dmesg
OpenBSD 6.4-current (GENERIC.MP) #253: Sun Nov  4 23:26:31 MST 2018
    [hidden email]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 961421312 (916MB)
avail mem = 902914048 (861MB)
mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
efi0 at mainbus0: UEFI 2.7
efi0: Das U-Boot rev 0x20180900
simplefb0 at mainbus0: 656x416, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
simplebus0 at mainbus0: "soc"
bcmintc0 at simplebus0
bcmdog0 at simplebus0
bcmrng0 at simplebus0
pluart0 at simplebus0
bcmtemp0 at simplebus0
bcmaux0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
dwctwo0 at simplebus0
simplebus1 at mainbus0: "clocks"
agtimer0 at mainbus0: tick rate 19200 KHz
cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev
2.00/1.00 addr 1
uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard
Microsystems product 0x9514" rev 2.00/2.00 addr 2
smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard
Microsystems SMSC9512/14" rev 2.00/2.00 addr 3
smsc0: address b8:27:eb:fd:e2:73
ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3:
OUI 0x0001f0, model 0x000c
umass0 at uhub1 port 3 configuration 1 interface 0 "HP v222w" rev
2.00/11.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <hp, v222w, 1100> SCSI2 0/direct
removable serial.03f03f40AA0000000444
sd0: 7680MB, 512 bytes/sector, 15728640 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (87d0b25f285b037a.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
umsm0 at uhub1 port 2 configuration 1 interface 0 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umsm1 at uhub1 port 2 configuration 1 interface 1 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umsm0 detached
umsm1 detached
umsm0 at uhub1 port 2 configuration 1 interface 0 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
ucom0 at umsm0
umsm1 at uhub1 port 2 configuration 1 interface 1 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
ucom1 at umsm1
umsm2 at uhub1 port 2 configuration 1 interface 2 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
ucom2 at umsm2
umass1 at uhub1 port 2 configuration 1 interface 3 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umass1: using SCSI over Bulk-Only
scsibus3 at umass1: 2 targets, initiator 0
cd0 at scsibus3 targ 1 lun 0: <HUAWEI, Mass Storage, 2.31> SCSI2
5/cdrom removable
umass2 at uhub1 port 2 configuration 1 interface 4 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umass2: using SCSI over Bulk-Only
scsibus4 at umass2: 2 targets, initiator 0
sd1 at scsibus4 targ 1 lun 0: <HUAWEI, SD Storage, 2.31> SCSI2
0/direct removable
LogOut[20584]: pledge "proc", syscall 66
LogOut[90880]: pledge "proc", syscall 66
LogOut[61523]: pledge "proc", syscall 66
LogOut[86166]: pledge "proc", syscall 66
LogOut[41775]: pledge "proc", syscall 66
www#

Regards,

Kihaguru.

Reply | Threaded
Open this post in threaded view
|

Re: Missing libraries.

s_graf
I think your system is out of date.  If you load the latest current it should work.

-----Original Message-----
From: [hidden email] <[hidden email]> On Behalf Of Kihaguru Gathura
Sent: February 10, 2019 9:13 PM
To: misc <[hidden email]>; [hidden email]
Subject: Missing libraries.

Hi,

Any ideas on how to fix the missing libraries,

www# pkg_add -v mini_sendmail-chroot
Update candidates: quirks-3.91 -> quirks-3.91
quirks-3.91 signed on 2019-02-10T22:07:56Z
Can't install mini_sendmail-chroot-1.3.9 because of libraries
|library c.95.0 not found
| /usr/lib/libc.so.92.6 (system): bad major
Couldn't install mini_sendmail-chroot-1.3.9
www#

www# dmesg
OpenBSD 6.4-current (GENERIC.MP) #253: Sun Nov  4 23:26:31 MST 2018
    [hidden email]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 961421312 (916MB)
avail mem = 902914048 (861MB)
mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 16-way L2 cache
efi0 at mainbus0: UEFI 2.7
efi0: Das U-Boot rev 0x20180900
simplefb0 at mainbus0: 656x416, 32bpp
wsdisplay0 at simplefb0 mux 1
wsdisplay0: screen 0-5 added (std, vt100 emulation)
simplebus0 at mainbus0: "soc"
bcmintc0 at simplebus0
bcmdog0 at simplebus0
bcmrng0 at simplebus0
pluart0 at simplebus0
bcmtemp0 at simplebus0
bcmaux0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
dwctwo0 at simplebus0
simplebus1 at mainbus0: "clocks"
agtimer0 at mainbus0: tick rate 19200 KHz
cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu1: 512KB 64b/line 16-way L2 cache
cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu2: 512KB 64b/line 16-way L2 cache
cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu3: 512KB 64b/line 16-way L2 cache
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev
2.00/1.00 addr 1
uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard
Microsystems product 0x9514" rev 2.00/2.00 addr 2
smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard
Microsystems SMSC9512/14" rev 2.00/2.00 addr 3
smsc0: address b8:27:eb:fd:e2:73
ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3:
OUI 0x0001f0, model 0x000c
umass0 at uhub1 port 3 configuration 1 interface 0 "HP v222w" rev
2.00/11.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <hp, v222w, 1100> SCSI2 0/direct
removable serial.03f03f40AA0000000444
sd0: 7680MB, 512 bytes/sector, 15728640 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on sd0a (87d0b25f285b037a.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
umsm0 at uhub1 port 2 configuration 1 interface 0 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umsm1 at uhub1 port 2 configuration 1 interface 1 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umsm0 detached
umsm1 detached
umsm0 at uhub1 port 2 configuration 1 interface 0 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
ucom0 at umsm0
umsm1 at uhub1 port 2 configuration 1 interface 1 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
ucom1 at umsm1
umsm2 at uhub1 port 2 configuration 1 interface 2 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
ucom2 at umsm2
umass1 at uhub1 port 2 configuration 1 interface 3 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umass1: using SCSI over Bulk-Only
scsibus3 at umass1: 2 targets, initiator 0
cd0 at scsibus3 targ 1 lun 0: <HUAWEI, Mass Storage, 2.31> SCSI2
5/cdrom removable
umass2 at uhub1 port 2 configuration 1 interface 4 "HUAWEI HUAWEI
Mobile" rev 2.00/1.02 addr 5
umass2: using SCSI over Bulk-Only
scsibus4 at umass2: 2 targets, initiator 0
sd1 at scsibus4 targ 1 lun 0: <HUAWEI, SD Storage, 2.31> SCSI2
0/direct removable
LogOut[20584]: pledge "proc", syscall 66
LogOut[90880]: pledge "proc", syscall 66
LogOut[61523]: pledge "proc", syscall 66
LogOut[86166]: pledge "proc", syscall 66
LogOut[41775]: pledge "proc", syscall 66
www#

Regards,

Kihaguru.


Reply | Threaded
Open this post in threaded view
|

Re: Missing libraries.

Karel Gardas
On Sun, 10 Feb 2019 21:21:23 -0800
<[hidden email]> wrote:

> I think your system is out of date.  If you load the latest current it should work.

Or if you have just upgraded to -current, then consider this is ARM,
one of the slowest platform. There has been major libC bump recently
so I guess package builder(s) are still building the package tree to
catch up with the libc major bump...

So be patient, wait and try another day or so.

>
> -----Original Message-----
> From: [hidden email] <[hidden email]> On Behalf Of Kihaguru Gathura
> Sent: February 10, 2019 9:13 PM
> To: misc <[hidden email]>; [hidden email]
> Subject: Missing libraries.
>
> Hi,
>
> Any ideas on how to fix the missing libraries,
>
> www# pkg_add -v mini_sendmail-chroot
> Update candidates: quirks-3.91 -> quirks-3.91
> quirks-3.91 signed on 2019-02-10T22:07:56Z
> Can't install mini_sendmail-chroot-1.3.9 because of libraries
> |library c.95.0 not found
> | /usr/lib/libc.so.92.6 (system): bad major
> Couldn't install mini_sendmail-chroot-1.3.9
> www#
>
> www# dmesg
> OpenBSD 6.4-current (GENERIC.MP) #253: Sun Nov  4 23:26:31 MST 2018
>     [hidden email]:/usr/src/sys/arch/arm64/compile/GENERIC.MP
> real mem  = 961421312 (916MB)
> avail mem = 902914048 (861MB)
> mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
> cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4
> cpu0: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu0: 512KB 64b/line 16-way L2 cache
> efi0 at mainbus0: UEFI 2.7
> efi0: Das U-Boot rev 0x20180900
> simplefb0 at mainbus0: 656x416, 32bpp
> wsdisplay0 at simplefb0 mux 1
> wsdisplay0: screen 0-5 added (std, vt100 emulation)
> simplebus0 at mainbus0: "soc"
> bcmintc0 at simplebus0
> bcmdog0 at simplebus0
> bcmrng0 at simplebus0
> pluart0 at simplebus0
> bcmtemp0 at simplebus0
> bcmaux0 at simplebus0
> com0 at simplebus0: ns16550, no working fifo
> com0: console
> dwctwo0 at simplebus0
> simplebus1 at mainbus0: "clocks"
> agtimer0 at mainbus0: tick rate 19200 KHz
> cpu1 at mainbus0 mpidr 1: ARM Cortex-A53 r0p4
> cpu1: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu1: 512KB 64b/line 16-way L2 cache
> cpu2 at mainbus0 mpidr 2: ARM Cortex-A53 r0p4
> cpu2: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu2: 512KB 64b/line 16-way L2 cache
> cpu3 at mainbus0 mpidr 3: ARM Cortex-A53 r0p4
> cpu3: 32KB 64b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
> cpu3: 512KB 64b/line 16-way L2 cache
> usb0 at dwctwo0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev
> 2.00/1.00 addr 1
> uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard
> Microsystems product 0x9514" rev 2.00/2.00 addr 2
> smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard
> Microsystems SMSC9512/14" rev 2.00/2.00 addr 3
> smsc0: address b8:27:eb:fd:e2:73
> ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3:
> OUI 0x0001f0, model 0x000c
> umass0 at uhub1 port 3 configuration 1 interface 0 "HP v222w" rev
> 2.00/11.00 addr 4
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <hp, v222w, 1100> SCSI2 0/direct
> removable serial.03f03f40AA0000000444
> sd0: 7680MB, 512 bytes/sector, 15728640 sectors
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootfile: sd0a:/bsd
> boot device: sd0
> root on sd0a (87d0b25f285b037a.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!
> umsm0 at uhub1 port 2 configuration 1 interface 0 "HUAWEI HUAWEI
> Mobile" rev 2.00/1.02 addr 5
> umsm1 at uhub1 port 2 configuration 1 interface 1 "HUAWEI HUAWEI
> Mobile" rev 2.00/1.02 addr 5
> umsm0 detached
> umsm1 detached
> umsm0 at uhub1 port 2 configuration 1 interface 0 "HUAWEI HUAWEI
> Mobile" rev 2.00/1.02 addr 5
> ucom0 at umsm0
> umsm1 at uhub1 port 2 configuration 1 interface 1 "HUAWEI HUAWEI
> Mobile" rev 2.00/1.02 addr 5
> ucom1 at umsm1
> umsm2 at uhub1 port 2 configuration 1 interface 2 "HUAWEI HUAWEI
> Mobile" rev 2.00/1.02 addr 5
> ucom2 at umsm2
> umass1 at uhub1 port 2 configuration 1 interface 3 "HUAWEI HUAWEI
> Mobile" rev 2.00/1.02 addr 5
> umass1: using SCSI over Bulk-Only
> scsibus3 at umass1: 2 targets, initiator 0
> cd0 at scsibus3 targ 1 lun 0: <HUAWEI, Mass Storage, 2.31> SCSI2
> 5/cdrom removable
> umass2 at uhub1 port 2 configuration 1 interface 4 "HUAWEI HUAWEI
> Mobile" rev 2.00/1.02 addr 5
> umass2: using SCSI over Bulk-Only
> scsibus4 at umass2: 2 targets, initiator 0
> sd1 at scsibus4 targ 1 lun 0: <HUAWEI, SD Storage, 2.31> SCSI2
> 0/direct removable
> LogOut[20584]: pledge "proc", syscall 66
> LogOut[90880]: pledge "proc", syscall 66
> LogOut[61523]: pledge "proc", syscall 66
> LogOut[86166]: pledge "proc", syscall 66
> LogOut[41775]: pledge "proc", syscall 66
> www#
>
> Regards,
>
> Kihaguru.
>
>


--
Karel Gardas <[hidden email]>

Reply | Threaded
Open this post in threaded view
|

Re: Missing libraries.

Janne Johansson-3
In reply to this post by Kihaguru Gathura-2
Den mån 11 feb. 2019 kl 06:15 skrev Kihaguru Gathura <[hidden email]>:

> Hi,
> Any ideas on how to fix the missing libraries,
> www# pkg_add -v mini_sendmail-chroot
> Can't install mini_sendmail-chroot-1.3.9 because of libraries
> |library c.95.0 not found
> | /usr/lib/libc.so.92.6 (system): bad major
>

It really DOES try to tell you what it wants, and what you have.
I looks for libc of version 95.0, och your system seems to be three
major versions lower, which implies you have not upgraded the system (from
bsd.rd, snapshots, source)
in a long while, but the people that build snapshot packages have, because
that is what the requirements
for running snapshot packages is. Keep the base,x11 and ports/packages in
sync.

Now there was a week recently where libc.94 was quite short-lived so if you
didn't upgrade every week from snapshots
you could end up with something similar to this, but here, I think the age
of the existing libc says it is close to three months
old:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/shlib_version.diff?r1=1.201&r2=1.202&f=h

If this happened to me, I'd run a
ls /usr/lib/libc.so.*
and see what the output of that is, compared to what the snapshot port
wanted (.95.0) and then either wait until
arm snaps show base6x.tgz comes with such a libc, or grab current sources
and compile the base system yourself
to get uptodate (the FAQ has good guides on how this is done)

--
May the most significant bit of your life be positive.
Reply | Threaded
Open this post in threaded view
|

Re: Missing libraries.

Stuart Henderson
In reply to this post by Karel Gardas
On 2019/02/11 10:28, Karel Gardas wrote:
> On Sun, 10 Feb 2019 21:21:23 -0800
> <[hidden email]> wrote:
>
> > I think your system is out of date.  If you load the latest current it should work.

Yes this. If you are running -current snapshots, you will *often* need to
update the base OS and run "pkg_add -u" before you can install new packages.

> Or if you have just upgraded to -current, then consider this is ARM,
> one of the slowest platform. There has been major libC bump recently
> so I guess package builder(s) are still building the package tree to
> catch up with the libc major bump...

aarch64 package builds are quite fast actually (and the ones on mirrors
at present are already built against current libc).