Error using dlopen(), dlsym() in XServer

kartikay malhotra kartikay.malhotra at
Wed Sep 21 07:39:06 PDT 2005

 Dear peers,
  I want to use dlopen(), dlsym(), etc. in select files of XServer. I'm
particularly stuck with files in the *..xc/programs/Xserver/fb* folder. The
files compile correctly; however at startup, using either *startx* or *init
5, gnome *does not load up. Instead the following message gets displayed on
the console:
 XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
 after 0 requests (0 known processed) with 0 events remaining
 This very same approach (ie, using dlopen(), dlsym() ) works fine with Xlib
 Can the problem be traced to Imakefile? Some C files in Xserver source code
seemlessly use dlopen. They don't even bother to include dlfcn.h. So I'm
positive the problem is due to the Makefile.
 As an aside, my original library files have ".a" extensions; corresponding
compiled sources from Xorg have library files with ".so" extensions.
*make*in the ../fb folder using local Makefile yields both
** and *libfb.a *files. Are these different file formats the
 I know I pose a tricky question, but you people are good at your job :)
  Any and all suggestions are welcome.
  Many Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list