[Bug 259139] Re: Ncurses package does not contain libtinfo
Hate to bump an old bug... but it seems silly to create another one for essentially the same issue. I am currently packaging a proprietary application as an Ubuntu package (the MacroView SCADA system, as it so happens). Host platform is Ubuntu 10.04 LTS i386. In previous releases, the upstream software package linked against libncurses.so.5. Now it links against libtinfo.so.5, and thus I now have an issue getting dpkg-buildpackage to co-operate. I tried making a dummy package to install the necessary symlink... this might fool a runtime application, but it does not fool dpkg-shlibdeps, which complains loudly: dpkg-shlibdeps: warning: /lib/libtinfo.so.5 has an unexpected SONAME (libncurses.so.5) dpkg-shlibdeps: error: no dependency information found for /lib/libtinfo.so.5 (used by debian/macroview/usr/lib/macro/imgstat64). Now, all very well to argue that the build scripts should take care of this; however in my situation, the build scripts are taking a tarball containing precompiled binaries and copying them into the appropriate directories for packaging -- I do not control the linking process. So the solution in comment #8 will not work for this use case. Is it possible that this issue could be addressed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/259139 Title: Ncurses package does not contain libtinfo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/259139/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 259139] Re: Ncurses package does not contain libtinfo
As Thomas notes, this should be fixed in the build scripts of whatever software is looking for a separate libtinfo, rather than by changing ncurses. Closing the report, thanks! ** Changed in: ncurses (Ubuntu) Status: New = Invalid -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 259139] Re: Ncurses package does not contain libtinfo
Would it be an idea to include the libtinfo.so.5 symlink in libncurses5? Is there any reason it would cause any problems? -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 259139] Re: Ncurses package does not contain libtinfo
On Thu, 24 Dec 2009, Alice Kærast wrote: Would it be an idea to include the libtinfo.so.5 symlink in libncurses5? Is there any reason it would cause any problems? ncurses' configure script generates that link - but only if it's configured to generate the separate library. As I understand it, there's two things that might be helped by adding it to point to the single ncurses+tinfo library: a) if there happened to be some _binary_-compatible application in a package from another system, where that library was used. b) to appease configure-scripts or makefiles that look for that library. I don't recall any examples of (a) being presented, and have seen some cases of (b). For (b), the usual advice is to fix the configure-script or makefile, rather than encourage non-portable code. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 259139] Re: Ncurses package does not contain libtinfo
Thanks for the tip, the symlinks let me install ghc 6.12 -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 259139] Re: Ncurses package does not contain libtinfo
actually libncurses.so.5 is in /lib, not /usr/lib, so you need this: sudo apt-get install libncurses5 sudo ln -s /lib/libncurses.so.5 /usr/lib/libtinfo.so.5 sudo ln -s /usr/lib/libtinfo.so.5 /usr/lib/libtinfo.so -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 259139] Re: Ncurses package does not contain libtinfo
@Eric Holmberg Thanks, your hint did a trick ! Danilo (aka 'danpos') -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 259139] Re: Ncurses package does not contain libtinfo
The libtinfo.so functionality is built into the libncurses.so shared library. For software that expects the libtinfo.so object, do the following: sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5 sudo ln -s /usr/lib/libtinfo.so.5 /usr/lib/libtinfo.so -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 259139] Re: Ncurses package does not contain libtinfo
The entrypoints for libinfo are part of ncurses (whether the ncurses library is installed as the two files is a decision made by the packager, and does not affect the ability of applications to use those entrypoints). Any build script which looks explicitly for libtinfo without first trying in the ncurses library should be fixed. -- Ncurses package does not contain libtinfo https://bugs.launchpad.net/bugs/259139 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs