[Nut-upsuser] nut 2.6.2 possible bug

Arnaud Quette aquette.dev at gmail.com
Thu Oct 13 11:28:41 UTC 2011

Hi Noel,

2011/10/13 Noel Butler <noel.butler at ausics.net>:
> Built for years every version using:  ./configure --with-usb
> Configuration summary:
> ======================
> build serial drivers: yes
> build USB drivers: yes
> build SNMP drivers: yes
> build neon based XML driver: yes
> build Powerman PDU client driver: no
> build IPMI driver: no
> enable SSL development code: yes
> enable libwrap (tcp-wrappers) support: yes
> build CGI programs: no
> enable HAL support: no
> build and install documentation: no
> build and install the development files: no
> ........  decided to upgrade to 2.6.2, but failed compile:
> ./.libs/libnutscan.so: undefined reference to `upscli_tryconnect'
> collect2: ld returned 1 exit status
> This built on Slackware 13.1
> config.log (not attached due its size) is available at
> http://members.ausics.net/noelb/nut.config.log

thanks for your report.
I've already fixed some issues, around 2.6.2 and nut-scanner compilation.
The one you're quite probably facing there is that you have pre-2.6.2
libupsclient available on your system.
These do not provide upscli_tryconnect(), and conflict with the newly
compiled one, in your NUT source directory.
Could you please try to uninstall your system-wide libupsclient,
relaunch a compilation and report back?

Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/

More information about the Nut-upsuser mailing list