how to remove rich text module error on ubuntu.
this error is related to ubuntu.
this applicatio is develpoed in POWER BUILDER.

Dani AI

Generated

A focused troubleshooting note for the "rich text module" error when the application was developed in PowerBuilder.

This problem most commonly has two roots. One: the error is simply about opening or editing an RTF file and the system lacks an RTF-capable viewer (installing LibreOffice or AbiWord will fix that), which echoes ’s suggestion. Two: the PowerBuilder-built program is a Windows binary being run on Ubuntu via Wine or another compatibility layer; in that case a Windows Rich Edit control (for example riched20.dll) or another Windows runtime component is missing, which follows ’s dependency hypothesis.

Practical triage steps (high level, non-duplicative of earlier advice):

  • Confirm whether the executable is a Windows PE or a native Linux ELF binary (use a file-type check).
  • If it’s a Windows binary running under Wine, run it from a terminal to capture Wine output and look for DLL/COM errors. Rich-edit failures usually point to a missing rich-edit DLL; use a Wine helper (winetricks) to install the appropriate rich-edit runtime or configure Wine to prefer a native riched20 where needed.
  • If it’s a native Linux binary, check shared-library dependencies (look for “not found” results) and install the corresponding Ubuntu runtime packages or development libraries.

Context and cautions: PowerBuilder client UIs often rely on Windows-only controls. If the application embeds such controls, the most robust solutions are either running it under a properly configured Wine environment that supplies the missing Windows components, or rebuilding/replacing the control in a native Linux build. For an RTF-viewing need alone, using LibreOffice is the simplest path.

Useful diagnostic details to include in follow-ups for precise help: the exact error text, the Ubuntu release, whether Wine or another wrapper is used, and excerpts from the terminal or log showing missing DLLs or “not found” libraries.

Recommended Answers

All 2 Replies

Not enough information to help you. If you are trying to edit an RTF file, then you may need to install OpenOffice/LibreOffice. If you are referring to something else, then please provide more relevant information.

Sounds like he's missing a dependency or some 3rd application that this 'power builder' app needs to use the 'rich text module'.

I think we could start with the exact package you are using "dpkg -l|grep 'power builder'" and then the eact error message from the log or screen.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.