[fpc-pascal] Defining sonames?
Michael Van Canneyt
michael at freepascal.org
Sat Aug 12 11:22:32 CEST 2017
On Sat, 12 Aug 2017, Martin Schreiber wrote:
> Hi,
>
> MSEgui uses xlib by the units in packages/x11. The linker searches for
> libX11.so which is not installed on most systems by default so one has to
> install the libx11 devel package or manually create a symlink libX11.so ->
> libX11.so.6 in order to compile MSEgui applications.
> Some users are unable to cope with this or give up with the
> comment "MSEide+MSEgui does not work on my system".
>
> Is it possible to add libX11.so.6 to the list of searched files for "X11"
> externals without using dlopen/dlsym?
The only way to do this is to change the lib name to libX11.so.6, as far as
I know. There may be some version script trickery, but that would probably
require additional compiler directives.
Michael.
More information about the fpc-pascal
mailing list