bug-ncurses
[Top][All Lists]
Advanced

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

Re: problems using libtool with version 5.3


From: Mr E_T
Subject: Re: problems using libtool with version 5.3
Date: Fri, 25 Oct 2002 08:21:40 +0800 (WST)

Tahts fine for new packages but if you are trying to upgrade then old packages
wont run. You would have to recompile all the packages on your system which use
ncurses.

And that would be a problem!

On Thu, 24 Oct 2002, Thomas Dickey wrote:

> On Thu, Oct 24, 2002 at 08:08:17PM +0800, Mr E_T wrote:
> > using -with-libtool option in configure produces incorrect library prefix
> > ( 5.0.3 instead of 5.3 )
>
> libtool's version convention is (it appears) intentionally incompatible with
> everything else.  I don't really try to change it...
>
> > Also produces following errors-
> > /bin/sh: error while loading shared libraries: /lib/libncurses.so.5: 
> > undefined
> > symbol: gpm_fd
> >
> > This problem comes about from not linking in libgpm.
>
> I see.  It's not a new bug - checking 5.2 (20001021) I see the same issue.
> Other than a couple of comments about the version number, I don't recall
> anyone reporting problems with the libtool configuration.
>
> The fix for this configuration is to add a $(SHLIB_LIST) to the end of
> the line in the makefile which invokes libtool, e.g,.
>
> ../lib/libncurses.la : $(LIBTOOL_OBJS) Makefile
>       cd ../lib && $(LIBTOOL) $(CC) -o libncurses.la $(LIBTOOL_OBJS:.o=.lo) 
> -rpath $(DESTDIR)$(libdir) -version-info $(NCURSES_MAJOR):$(NCURSES_MINOR) 
> $(SHLIB_LIST)
>
> > #######################################################################
> > outputs from -with-libtool version -
> > ./configure --prefix=/usr --localstatedir=/var --with-libtool 
> > --without-debug
> > --disable-big-core --with-gpm --enable-termcap --with-manpage-format=gzip
> >
> > output of - ldd libncurses.so.5.0.3
> > ldd: warning: you do not have execution permission for `libncurses.so.5.0.3'
> >         libc.so.6 => /lib/libc.so.6 (0x40061000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> >
> > #######################################################################
> > outputs from -with-shared version -
> > ./configure --prefix=/usr --localstatedir=/var --without-libtool
> > --without-debug --disable-big-core --with-gpm --enable-termcap
> > --with-manpage-format=gzip --with-shared --with-normal
> >
> > Output of - ldd libncurses.so.5.3
> > ldd: warning: you do not have execution permission for `libncurses.so.5.3'
> >         libc.so.6 => /lib/libc.so.6 (0x40061000)
> >         libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40193000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> >
> > #######################################################################
> >
> > Both compile, make and install correctly
>
> That indicates that libtool is not making a check that it should have.
>
> > However due to the fact that some programs are linked to the ncurses library
> > and not to the gpm library the computer will not boot.
> >
> > --
> > regs MR E_T
>
>

-- 
regs MR E_T

_______________________
\                      \
  \   OOHH I hate TYPOS  \
    \                      \
      ~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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