Comments (5)
The platform does not deliver the compilation symlink for a reason: this is not a supported interface. It also doesn't deliver the necessary headers, so it's unclear where apcusbd is getting that from. Do not build against any library in /usr/lib or /lib that lacks a compilation symlink; doing so may result in your applications failing at any time in the future. Instead, use pkgsrc or build your own copy.
libusb is not used by anything in the platform itself, so I'm using this ticket to remove it (the lack of headers and compilation links means it was never usable in the first place). I've opened a separate Joyent ticket, DATASET-426, to track the request for a usable libusb. Feel free to ping me if you have further questions.
from smartos-live.
In trying to understand the correct solution to the broader problem, we need to know what the use case was here. Were you trying to use apcusbd in a zone? If so, how were you planning to have it obtain its input data from the UPS(es)? If you were trying to install it in the global zone, what features did you actually need from it?
from smartos-live.
It was quite some time ago that we had this issue, that I can't completely recall the information, but I'll give it a shot:
I believe we were attempting to run it in the global zone. I believe we were looking at the Solaris version of apcusbd to preform a "safe-shutdown" of the global zone.
from smartos-live.
Ok, the conclusion is that this library should be removed; this isn't supported on SmartOS (nor Smart DataCenter), and using the pkgsrc version won't work because it's incompatible. The library itself was vestigial. If you need direct hardware connection to UPSs, your Joyent support rep can work with you to scope the feature and get it added to the roadmap.
from smartos-live.
This has been removed in fa1dcf1.
from smartos-live.
Related Issues (20)
- piadm can be nicer about being ran in a non-global zone
- localhost doesn't resolve to ::1, despite having the correct entry in /etc/hosts HOT 2
- OpenBSD BHYVE VM does not boot in SmartOS 20210311T001742Z and 20210325T002528Z anymore HOT 4
- dockerinit should support link-local routes
- Ship /usr/lib/pci/pcieadm HOT 1
- tmux troubles with port_associate on pkgsrc illumos HOT 5
- lx: add support for timers to target specific process/thread cpu clocks HOT 2
- mdata-put randomly hangs HOT 1
- NFS mounting broken on newish LX images HOT 7
- libera.chat address miss-typed in readme
- IPv6 partially broken under lx ubuntu 20.04 HOT 2
- p7zip commands silently truncated terminal-entered passwords to 8 characters HOT 2
- control+c kills "screen" HOT 3
- Creation of encrypted zpool during CN setup broken HOT 2
- LX Ubuntu 20.04 dnsmasq issue HOT 2
- reconcile different DHCP flags and spoof protection handling HOT 1
- unable to install on machine with no nic
- Spice on SmartOS guide is incorrect HOT 2
- feat: imgadm: add support for authentication to docker hub HOT 4
- Build Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartos-live.