bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure option `--with-shlib-version=no' break shared library builds


From: Tommy Alex
Subject: configure option `--with-shlib-version=no' break shared library builds
Date: Sun, 9 Aug 2015 17:30:02 +0800

platform: Ubuntu 14.04.3

ncurses version: 5.9 or 6.0

steps:
    cd ncurses-x.x
    ./configure --with-shlib-version=no --with-shared
    make

error message:
    cd ../lib && ()
    /bin/sh: 1: Syntax error: ")" unexpected
    make[1]: *** [../lib/libncurses.so] Error 2

file contents related to this error:
ncurses-x.x/ncurses/Makefile:
../lib/libncurses.so : \
../lib \
$(RESULTING_SYMS) $(SHARED_OBJS)
@echo linking $@
$(MK_SHARED_LIB) $(SHARED_OBJS) $(SHLIB_LIST) $(LDFLAGS)
cd ../lib && ()

$(DESTDIR)$(libdir)/libncurses.so : \
$(DESTDIR)$(libdir) \
$(RESULTING_SYMS) $(SHARED_OBJS)
@echo linking $@
$(MK_SHARED_LIB) $(SHARED_OBJS) $(SHLIB_LIST) $(LDFLAGS)
cd $(DESTDIR)$(libdir) && ()
@echo linking libncurses.so to libcurses.so
cd $(DESTDIR)$(libdir) && ($(LN_S) libncurses.so libcurses.so; )
- test -z "$(DESTDIR)" && /sbin/ldconfig


note the line `cd ../lib && ()' and `cd $(DESTDIR)$(libdir) && ()' with raise the error message

reply via email to

[Prev in Thread] Current Thread [Next in Thread]