Compiling ncmpcpp with multilib Slackware 13.1
I'm running into trouble compiling ncmpcppp with a SlackBuild under a multilib Slackware 13.1. Even though my ARCH is exported correctly and it's looking in /usr/lib64 for the relevant libraries, the build fails with these errors:
Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl |
I think this is caused by a bug in ncurses.
The ncmpcpp build system uses ncursesw5-config to get ncurses specific link flags. Code:
ncursesw5-config --libs Code:
-L/usr/lib -lncursesw Code:
-L/usr/lib64 -lncursesw If I modify /usr/bin/ncursesw5-config to output the correct flags, ncmpcpp compiles successfully. It seems the bug has been fixed in latest ncurses snapshots. |
as a temporary solution you can add an
Code:
LDFLAGS="-L/usr/lib64 -L/lib64" \ Code:
@@ -69,6 +69,7 @@ |
All times are GMT -5. The time now is 10:42 AM. |