Some times when I am installing packages from SlackBuilds, the compilation stops with the following error:
error adding symbols: File in wrong format
In order to fix it, I alter the SlackBuild script specifying the library directory in CFLAGS variable:
CFLAGS="$SLKCFLAGS -L/usr/lib64"
Running again the script, it terminates with success.