Welcome to CRUX bug tracking.

FS#1414 - Vorbis-tools fails to compile

Attached to Project: CRUX
Opened by xcko (xcko) - Saturday, 13 May 2017, 23:02 GMT
Last edited by Fredrik Rinnestam (frinnst) - Sunday, 14 May 2017, 16:03 GMT
Task Type Bug Report
Category ports → core/opt
Status Closed
Assigned To Fredrik Rinnestam (frinnst)
Operating System CRUX
Severity High
Priority High
Reported Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


vorbis-tools fails to compile with
undefined reference to symbol 'tanh@@GLIBC_2.2.5'
/lib64/ error adding symbols: DSO missing from command line

There seems to be a missing library that needs to be added.
This task depends upon

Closed by  Fredrik Rinnestam (frinnst)
Sunday, 14 May 2017, 16:03 GMT
Reason for closing:  Fixed
Comment by xcko (xcko) - Saturday, 13 May 2017, 23:28 GMT
There is a collection of CVE patches in the archpkg so I added them and merged them here.

The fix for the package is to add -lm to CFLAGS for the configure script.
   0001-archpkg-cve.patch (4.5 KiB)
Comment by Predrag Ivanovic (pedja) - Sunday, 14 May 2017, 15:18 GMT
CVE patches and fix for linking bug folded into one nice git patch
is attached bellow.
Builds fine in Docker container.
Since this can have security issues, changing Severity to Critical
might be a good idea.
   0001-vorbis-tools-Fix-linking... (9.7 KiB)