Ticket #106 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

python bindings: undefined symbol

Reported by: DarrenDale Owned by: Freddie Akeroyd
Priority: major Milestone:
Component: other bindings Version: 4.1.0
Keywords: Cc:

Description

I attempted to build nexus with python bindings today. The compilation completed without errors, but but when I try to run the nxpython_test script, I get the following error:

Traceback (most recent call last):

File "nxpython_test.py", line 7, in <module>

import nxpython

File "/usr/lib64/python2.5/site-packages/nxpython.py", line 7, in <module>

import libnxpython

ImportError: /usr/lib64/python2.5/site-packages/libnxpython.so: undefined symbol: putNXDatasetValue

I am running 64-bit linux, gcc-4.2.2, swig-1.3.33

Change History

comment:1 Changed 4 years ago by Piotr

Same thing here with both 4.0rc3 and 4.1 versions. My machine is also 64-bit Scientific Linux 5 (basically RHEL5): gcc-4.1.1, swig-1.3.29

I have also tried this on my older RHEL4 32bit machine and I get getNXDatasetValue undefined symbol

comment:2 Changed 4 years ago by Freddie Akeroyd

  • Owner changed from Unassigned to Freddie Akeroyd
  • Version changed from trunk to 4.1

comment:3 Changed 4 years ago by Freddie Akeroyd

  • Status changed from new to closed
  • Resolution set to fixed

(In [981]) Remove duplciate of nxdataset from binding/swig and make sure symbols are always exported from the main NeXus library. Fixes #106.

Note: See TracTickets for help on using tickets.