Archived issue #0032321
Draw Harness - pload should be able loading plugins with version suffix
Description
When Draw Harness is packaged on Linux platform it is a common practice to install only libraries with version-suffix to /usr/lib (e.g. "occt-draw").
Version-less symblinks are installed only by dedicated "development" packages (e.g. "libocct-draw-dev").
This makes Draw Harness unusable - not being able to load any plugins.
It is desired improving Draw Harness:
- Export version information via dedicated function Standard::Version() from libTKernel.so based on OCC_VERSION macros.
- Use this version suffix in "pload" / Draw::Load() to load versioned libraries first.
- Ideally - handle gracefully plugins without version suffix / with custom version suffix (add options to "pload" command?).
- Handle statically-linked Draw Harness plugins specifically (e.g. generate a warning instead of error on attempt to load them using "pload" command).
Version-less symblinks are installed only by dedicated "development" packages (e.g. "libocct-draw-dev").
This makes Draw Harness unusable - not being able to load any plugins.
It is desired improving Draw Harness:
- Export version information via dedicated function Standard::Version() from libTKernel.so based on OCC_VERSION macros.
- Use this version suffix in "pload" / Draw::Load() to load versioned libraries first.
- Ideally - handle gracefully plugins without version suffix / with custom version suffix (add options to "pload" command?).
- Handle statically-linked Draw Harness plugins specifically (e.g. generate a warning instead of error on attempt to load them using "pload" command).
Public activity
No public notes
Participants are labeled by their role within this record.
Related records