DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th March 2023
rdikarlus rdikarlus is offline
Real Name: Carlosn
Fdisk Soldier
 
Join Date: Nov 2018
Location: IBZ ISLAND
Posts: 63
Default hplip not working

Hi all,
trying to connect my recently installed NetBSD 10.0_BETA (GENERIC) in my home PC to my home HP Deskjet 2540 All-in-One Printer series using air-print and hplip. The package compiled properly but I get this error message when executing:
Code:
$ hp-setup -i HPD83AB7  
Traceback (most recent call last):
  File "/usr/pkg/bin/hp-setup", line 48, in <module>
    from base import device, utils, tui, models, module, services, os_utils
  File "/usr/pkg/share/hplip/base/device.py", line 42, in <module>
    from . import status
  File "/usr/pkg/share/hplip/base/status.py", line 33, in <module>
    import cupsext
ImportError: /usr/pkg/lib/python3.9/site-packages/cupsext.so: Shared object "libunistring.so.2" not found
Memory fault (core dumped)
hplip is working properly in NetBSD 9.3 laptop, I can print and scan using xsane.

Thanks for your help !

Last edited by ocicat; 18th March 2023 at 07:30 PM. Reason: Please use [code] & [/code] tags for clarity.
Reply With Quote
  #2   (View Single Post)  
Old 18th March 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

I'm not a NetBSD user, so this is solely based on a guess: You need an updated libunistring package.

https://ftp.netbsd.org/pub/NetBSD/Ne...ing/index.html
Reply With Quote
  #3   (View Single Post)  
Old 11th February 2024
rdikarlus rdikarlus is offline
Real Name: Carlosn
Fdisk Soldier
 
Join Date: Nov 2018
Location: IBZ ISLAND
Posts: 63
Default

hplip still not working but there is no need to use it since cups and airprint finds my printer-scanner HP DeskJet 2540. Despite hp-setup has been very useful to me in other BSD systems - OpenBSD - to configure HP printers, there is no need to use it. Thus the hplip package is needed to have the drivers, but you can configure the printer using the cups management system.

Thanks for the help.
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
Has any one got mpv working... bsd-keith OpenBSD Packages and Ports 7 1st September 2022 06:29 PM
Working on TTY sML OpenBSD Packages and Ports 1 27th December 2015 08:17 PM
hplip system tray bug in current - best option to fix? shep OpenBSD Packages and Ports 0 29th February 2012 12:53 AM
Mouse:X (not-working) and tty-Console (working), in 8.0 ykt FreeBSD General 1 22nd December 2009 12:26 PM
Working with CVS? Zmyrgel OpenBSD General 15 6th October 2009 01:32 PM


All times are GMT. The time now is 06:47 PM.


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