Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-06

need help with the ide

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sachintha Karunaratne

hi,
i'm using red hat linux 8. i downloaded the rpm file and then downloaded the
ide seperately. after i installed the compiler and it worked fine. but got some problem with the ide. when i typed fp the computer gives out the messege
"fp : error while loading shared libraries: libncurses.so.4: cannot open shared
object file: No such file or directory. "
why am i getting this messege. and how can i resolve it. please mind that i'm new to linux.
thanks

Marco van de Voort
to Sachintha Karunaratne
Show quoted text 11 lines
i'm using red hat linux 8. i downloaded the rpm file and then downloaded the ide seperately. after i installed the compiler and it worked fine. but got some problem with the ide. when i typed fp the computer gives out the messege "fp : error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory. " why am i getting this messege. and how can i resolve it. please mind that i'm new to linux. thanks

The Unix library "ncurses.so.4". Use your distributions package tools (rpm for redhat I believe) to add package ncurses. If there are multiple versions, add version 4.

A.J. Venter
to Marco van de Voort

This problem usually occurs when there is no library by that exact name.

It usually means a newer version is installed on your system. To fix that do (as root):
ln -s /usr/lib/libncurses.so.5 /usr/lib/libncurses.so.4

That way you create a symlink from the newer (version 5) ncurses to the older version 4. In effect telling programs that want to use version 4, to use version 5 instead.

Marco et all. Shouldn´t we perhaps considder recompiling the IDE for version 5 ? Version 4 is pretty ancient. I am not aware of compatibility issues, but then, I don´t use the IDE, I code in vim.

A.J.

Marco van de Voort wrote 19 lines
> i'm using red hat linux 8. i downloaded the rpm file and then > downloaded the > ide seperately. after i installed the compiler and it worked fine. but got > some problem with the ide. when i typed fp the computer gives out the > messege > "fp : error while loading shared libraries: libncurses.so.4: cannot open > shared > object file: No such file or directory. " > why am i getting this messege. and how can i resolve it. > please mind that i'm new to linux. > thanks The Unix library "ncurses.so.4". Use your distributions package tools (rpm for redhat I believe) to add package ncurses. If there are multiple versions, add version 4. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
¨Can´t you see the signs ?¨ - Creed A.J. Venter DireqLearn Linux Guru
Jonas Maebe
to A.J. Venter
A.J. Venter wrote
Marco et all. Shouldn´t we perhaps considder recompiling the IDE for version 5 ? Version 4 is pretty ancient. I am not aware of compatibility issues, but then, I don´t use the IDE, I code in vim.

ncurses 4 and 5 are quite incompatible (at least at the level we use them), but we worked around that in the video unit, so it should work with both.

Jonas