Gentoo emerging cdrdao errors with bitrate_table error

Gentoo emerging cdrdao errors with bitrate_table error

Happens in stable or testing branch (amd64 or ~amd64)

Here is the error:

1
2
3
toc2mp3-toc2mp3.o: In function `init_encoder(int)':
toc2mp3.cc:(.text+0x2da): undefined reference to `bitrate_table'
toc2mp3.cc:(.text+0x2e7): undefined reference to `bitrate_table'

The fix is to patch cdrdao, here are the steps:

1
2
3
4
mkdir -p /etc/portage/patches/app-cdr/cdrdao-1.2.3-r4/
cd /etc/portage/patches/app-cdr/cdrdao-1.2.3-r4/
wget "http://chrisfaulkner.org/wp-content/uploads/2017/11/cdrdao-1.2.3-dlopen-lame.patch" -O cdrdao-1.2.3-dlopen-lame.patch
emerge -1 cdrdao

One Reply to “Gentoo emerging cdrdao errors with bitrate_table error”

Leave a Reply

Your email address will not be published. Required fields are marked *