[nut-Bugs][313529] Dynamic linking error for building Eaton-SDK with shared-object.
nut-bugs at alioth.debian.org
nut-bugs at alioth.debian.org
Fri Jan 27 04:31:25 UTC 2012
Bugs item #313529, was changed at 2012-01-27 09:53 by prachi gandhi
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=313529&group_id=30602
Status: Open
Priority: 3
Submitted By: prachi gandhi (prachi-guest)
Assigned to: Nobody (None)
Summary: Dynamic linking error for building Eaton-SDK with shared-object.
Category: Documentation
Group: None
>Resolution: Fixed
Initial Comment:
Building Eaton-SDK code with shared-object gives following error,
"libeaton_shut.so.0: cannot open shared object file: No such file or directory"
This is example for SHUTSerial but it gives same error for all communication protocol.
----------------------------------------------------------------------
>Comment By: prachi gandhi (prachi-guest)
Date: 2012-01-27 10:01
Message:
This error can be resolved in 2 ways,
1. using LD_LIBRARY_PATH environment variable (to be prefered), Ie:$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/lib/linux/XXbits/
2. using /etc/ld.so.conf, which lists directories that provides libraries. In this case, you will have to run 'ldconfig' as root, to update system libraries catalog.
This needs to be documented in user guide of Eaton-SDK.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=313529&group_id=30602
More information about the NUT-tracker
mailing list