|
Mantis - netsnmp
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4675 | regular use | minor | always | 2011-01-25 00:10 | 2012-06-13 10:22 |
|
|
|||||
| Reporter: | skayser | Platform: | |||
| Assigned To: | cgrzemba | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0004675: Unresolved symbols in /opt/csw/lib/i386/libnetsnmp.so.10 (kstat_open, EVP_md5) | ||||
| Description: |
Seems as if there are some linkage issues with the netsnmp libs. Trying to load the netsmp pyton module (from the netsnmp_py package) fails and the linker complains about unresolved symbols in libnetsnmp.so.10. $ python -c 'import netsnmp' Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/csw/lib/python/site-packages/netsnmp/__init__.py", line 1, in <module> from client import * File "/opt/csw/lib/python/site-packages/netsnmp/client.py", line 1, in <module> import client_intf ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/i386/libnetsnmp.so.10: symbol kstat_open: referenced symbol not found $ python -V Python 2.6.6 $ type python python is hashed (/opt/csw/bin/python) Adding libkstat to LD_PRELOAD leads to another unreferenced symbol. $ LD_PRELOAD=/usr/lib/libkstat.so python -c 'import netsnmp' Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/csw/lib/python/site-packages/netsnmp/__init__.py", line 1, in <module> from client import * File "/opt/csw/lib/python/site-packages/netsnmp/client.py", line 1, in <module> import client_intf ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/i386/libnetsnmp.so.10: symbol EVP_md5: referenced symbol not found Adding libkstat & libcrypto to LD_PRELOAD fixes things. $ LD_PRELOAD="/usr/lib/libkstat.so /opt/csw/lib/libcrypto.so.0.9.8" python -c 'import netsnmp' |
||||
| Steps To Reproduce: | |||||
| Additional Information: |
$ pkgparam CSWnetsnmp-py VERSION 5.4.2.1,REV=2010.03.16 $ pkgparam CSWnetsnmp VERSION 5.4.2.1,REV=2010.03.16 $ pkgparam CSWpython VERSION 2.6.6,REV=2010.10.12 |
||||
| Relationships | |||||
| Attached Files: | |||||
|
|
|||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-01-25 00:10 | skayser | New Issue | |||
| 2012-06-13 10:21 | cgrzemba | Status | new => assigned | ||
| 2012-06-13 10:21 | cgrzemba | Assigned To | => cgrzemba | ||
| 2012-06-13 10:22 | cgrzemba | Note Added: 0009944 | |||
| 2012-06-13 10:22 | cgrzemba | Status | assigned => closed | ||
| 2012-06-13 10:22 | cgrzemba | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||