Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Update Slicer and VTK to workaround pthread and dl link errors #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcfr
Copy link
Collaborator

@jcfr jcfr commented Dec 5, 2022

List of Slicer updates:

$ git shortlog f81033d29c..008c30e7fe --no-merges
Jean-Christophe Fillion-Robin (1):
      [cell-locator] COMP: Update VTK to workaround pthread and dl link errors

List of VTK updates:

$ git shortlog 97904fdcc7..925473c4fb --no-merges
Jean-Christophe Fillion-Robin (2):
      COMP: Remove FindTBB and expect VTK to be configured with TBB_DIR
      COMP: Workaround pthread and dl link errors when VTK_ENABLE_KITS is ON

This commit workarounds the following link errors reported when using gcc 9.4.0 (Ubuntu 20.04).

[100%] Linking CXX executable ../../bin/vtkProbeOpenGLVersion
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_setspecific'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_getspecific'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_key_create'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_mutexattr_settype'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_mutexattr_init'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_once'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlerror'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlsym'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlopen'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlclose'

List of Slicer updates:

$ git shortlog f81033d29c..008c30e7fe --no-merges
Jean-Christophe Fillion-Robin (1):
      [cell-locator] COMP: Update VTK to workaround pthread and dl link errors

-----
List of VTK updates:

$ git shortlog 97904fdcc7..925473c4fb --no-merges
Jean-Christophe Fillion-Robin (2):
      COMP: Remove FindTBB and expect VTK to be configured with TBB_DIR
      COMP: Workaround pthread and dl link errors when VTK_ENABLE_KITS is ON

-----
This commit workarounds the following link errors reported when using
gcc 9.4.0 (Ubuntu 20.04).

[100%] Linking CXX executable ../../bin/vtkProbeOpenGLVersion
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_setspecific'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_getspecific'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_key_create'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_mutexattr_settype'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_mutexattr_init'
../../lib/libvtkexodusII-8.2.so.1: error: undefined reference to 'pthread_once'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlerror'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlsym'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlopen'
../../lib/libvtkhdf5-8.2.so.1: error: undefined reference to 'dlclose'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant