Hello,

I'm developing a program that should be able to run in environments that don't 
have X11 available. The program at start should check if x11 is available and 
if so then start FLTK based UI and CLI version otherwise.

I was going to do something like that:
1) pass flag to linker to tell him that no need resolve all symbols now 
(-znodefs on Solaris)
2) On start check if X11 avaiable and load the library as well as resolve 
symbols on the run.
3) Use FLTK assuming that X11 was just loaded and resolved


The problem is that while I successfully forced linker not to resolve all 
symbols while creating executable, on start it still is failed with:
<pre>
ld.so.1: erappd: fatal: relocation error: file
bin/erapp/Solaris/x86_64/erappd: symbol XDestroyRegion: referenced symbol not 
found
</pre>

Does anyone know what can be done in this case?


_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to