libxornstorage.la does not expose xornsch_ symbols

Bug #2022382 reported by Sven M. Hallberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
New
Undecided
Unassigned

Bug Description

Discovered during porting to OpenBSD:

My testing produced the following:

    python2.7:/usr/local/lib/python2.7/site-packages/xorn/storagemodule.so: undefined symbol 'xornsch_get_line_data'
    `xorn-convert' failed to load.
    This is an error. Please report it to <email address hidden>

The xornsch_* functions are defined in xorn/src/storage/convenience.cc and compiled into libxornstorage.so, but xorn/src/storage/Makefile.am tells the linker to only expose xorn_*:

    libxornstorage_la_LDFLAGS = -export-symbols-regex '^xorn_'

The attached patch expands this to include xornsch_* by changing the regex to '^xorn(sch)?_'.

Revision history for this message
Sven M. Hallberg (pesco) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.