Hi Folks,
fpc 2.4.2 gives the following error on SuSE 11.4. What is the name of the missing package?
"fp: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory"
Cheers,
miklos

Mailing lists / fpc-devel / 2011-07
6 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi Folks,
fpc 2.4.2 gives the following error on SuSE 11.4. What is the name of the missing package?
"fp: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory"
Cheers,
miklos
Since nobody else has answered: Google suggests that this is part of ncurses, previous discussion has been inconclusive as to whether this is an FPC or a SuSE problem. I've never seen it on Debian or Slackware, which suggests the latter.
Actually, the problem is that the libgdb used in the Linux version of the textmode IDE was built on an old SuSE release. It appears that this old SuSE release is one of the only (or last) distributions ever that had a libtinfo.so.5 library. In most (or all) other distributions, its functionality is part of libcurses itself. As a result, afaik the textmode IDE currently only works on very few distros. It would probably be best if it were rebuilt on a different system. See comment 0014986 of http://bugs.freepascal.org/view.php?id=9734 for more info.
Jonas
fpc 2.4.2 gives the following error on SuSE 11.4. What is the name of the missing package?
This is a library named differently across distributions. There is no solution here. I don't know what comes with SuSE, but apt-get gets crazy if you force the installation, so if SuSE comes with something other then apt-get it should be safe to just force-install.
The standard packages from FPC are built on Fedora I think, so they are fedora-specific because the distributions didn't take enough care to ensure that packages can work properly cross-distribution in all cases.
The only solution is making a second RPM set, which might work on SuSE, Mandriva, PCLinuxOS.
The dependency to libtinfo.so.5 is added automatically by the RPM build system by inspecting the executable with ldd, that's why it can't be removed.
fpc 2.4.2 gives the following error on SuSE 11.4. What is the name of the missing package?
I have rebuild fpc 2.4.2 for Mandriva some time ago:
http://magnifier.sourceforge.net/tmp/fpc-2.4.2-1mandriva.i386.rpm
It should work fine in PCLinuxOS and SuSE too
You can try to install this package instead of the default one.
Thanks for the advice. Let me summarize the result.
The Mandriva kit above installs fine. The 'fp' command is functional. The kits on the open SuSE site under the 'Open build service' are also fine. This is the good news. The bad news is that these kits are one release older than the most recent ones.
There is a second problem. I prefer parallel installation of 32 bit and 64 bit variants of FPC. In the past there were bugs in the compiler effecting one of the versions selectively. The ready made kits of the SuSE site can not be installed in parallel.
I understand that the non-functional IDE and parallel installation are low priority problems. Possibly I should contact the guy who the open build service did. Do we know who was it?
Cheers,
miklos