<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Hello,<br><br>I am trying to develop a program on Linux that will be used in two different configurations:<br> Configuration 1: with a X server and a graphic card<br> Configuration 2: without X server and without graphic card.<br>The both configuration are on RedHat 5.5 with the packages mesa-libGL and Mesa-libOSMesa<br><br>The program will generate an image of a model into a buffer, so for the 2nd configuration I will use offscreenMesa.<br>For the configuration 1, I should link with libGL.so <br>For the configuration I should link with libOSMesa.so<br><br>But I want that the same executable could be used for the two configurations?<br>How can I do such a thing?<br><br>Thank you for your answers,<br>Regards.<br>
</div><br>
</body></html>