Audacity 2.0.6 Slackbuilds on Slackware64 14.1

thursday 2015 may 14

 

http://slackbuilds.org/repository/14.1/audio/audacity/
After compiling this there appears to be a problem.

Problem:
Audacity comes up reporting "Audacity could not read its default theme".
Audacity runs with black buttons.

audacity black buttons

Cause reported by Audacity - Help - Show Log
Warning: Application was compiled with png.h from libpng-1.2.49
Warning: Application is running with png.c from libpng-1.4.12
This problem stems from deep inside Audacity src
see http://sourceforge.net/p/audacity/mailman/message/5829521/
and the fact that Slackware64-14.1 libpng package does come with 2 different libpng versions.

 

Solution:
Follow normal Slackbuilds procedure and installpkg.
This is the workaround mentioned in the above link:
Start Audacity from a terminal:

LD_PRELOAD=/usr/lib64/libpng.so.3 audacity

or put a little shell script on the desktop.

#!/bin/sh

LD_PRELOAD=/usr/lib64/libpng.so.3 audacity

Good thing Slackware64-14.1 and or libpng retains libpng.so.3

audacity ok