[Bug 247811] cad/netgen: python modules don't work due to incomplete linking [+fix]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 6 19:05:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247811

            Bug ID: 247811
           Summary: cad/netgen: python modules don't work due to
                    incomplete linking [+fix]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: stephen at FreeBSD.org
          Reporter: rsmith at xs4all.nl
             Flags: maintainer-feedback?(stephen at FreeBSD.org)
          Assignee: stephen at FreeBSD.org

Problem
-------

When trying to use the Python modules for netgen 6.2.2006, importing the module
fails because of a missing symbol for "backtrace":

In [1]: import netgen                                                           
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-672803b69ab0> in <module>
----> 1 import netgen

/usr/local/lib/python3.7/site-packages/netgen/__init__.py in <module>
     11 del os
     12 
---> 13 from . import libngpy
     14 
     15 def Redraw(*args, **kwargs):

ImportError:
/usr/local/lib/python3.7/site-packages/netgen/../../..//libngcore.so: Undefined
symbol "backtrace"

My netgen configuration is as follows:

  Enabled functionality:

    OCC: ............... OFF
    JPEGlib: ........... true
    FFMPEG: ............ false
    GUI: ............... ON
    MPI: ............... OFF
    PYTHON: ............ ON


Solution
--------

Add "LDFLAGS+= -lexecinfo" to the port Makefile, rebuild and re-install.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list