Problems with ghostscript

2007-12-25 9:56:00

-----------------------Original question------------------------------

=

= I have trayed to install ghostcript 262. I have used gcc

=makefile and I have modified this items:

=

=XINCLUDE=-I/usr/openwin/share/include

=XLIBDIRS=-L/usr/openwin/lib

=

=Compilation ends without errors. But, when I run the program (gs)

=this is the result:

=

=>prompt> gs

=>ld.so.1: gs: fatal: libXext.so.0: can't open file: errno=2

=>Killed

=

= Anyboy can help me? I think that this problem is relationed

=with X11 ditribution (I dont have it. Then only X11 files that I

=find are in openwin directories). Shall I to install the X11

=distribution?

=

--------------------------------The solution--------------------------

=

= 1. Do you have /usr/openwin/lib/libXext.so.0?

= 2. Compile your gs with -L/usr/openwin/lib -R/usr/openwin/lib

= 3. Set the env with LD_LIBRARY_PATH to /usr/openwin/lib

=

= Of course, the solucion is: 1 AND (2 OR 3)

--------------------------Aditional comments--------------------------

=

= 1. The problem was that I can't find the dinamic library (this is a

= shared object. This file needs to be located at run time

=

= 2. The Openwin stuff *is* the X11 distribution.

--------------------------Thanks to-----------------------------------

Joel Lee <jlee@thomas.com>

Craig Gates <cgates@fnoc.navy.mil>

Ian MacPhedran <Ian_MacPhedran@mackenzie.usask.ca>

Dan Pritts <danno@ans.net>

Rodney C. Marable <marable@firefly.net>

Michael Hill <Michael_Hill@csgsystems.com>

David Evans <DJEVANS@au.oracle.com>

Rich Kulawiec <rsk@gsp.org>

Aleksandar Milivojevic <alex@srce.hr>

Roger D McGraw, Jr., E.I.T. <roger@ptac.com>

Ronald Loftin <reloftin@mailbox.syr.edu>

Jay Lessert <jayl@latticesemi.com>

Richard Skelton <rich@brake.demon.co.uk>

Casper Dik <casper@holland.Sun.COM>

foster@bial1.ucsd.edu

Thomas Anders <anders@hmi.de>

Amjad Zamel <AmjadZ@ms.sts.com.jo>

Dan Penrod <dan@paradyne.com>

________________________________________________________________________

  ______ _ J. G. Antuna Roces Departamento de Geologia

 | _____|| | Phone: 34-8-510 3111 Campus de Llamaquique (Geologia)

 | | | |_| | Fax: 34-8-510 3103 Jesus Arias de Velasco, s/n

 | | | __ | 33007 - Oviedo (Spain)

 | |_|_| | | chano.antuna@geol.uniovi.es

 |_____| |_| http://www.geol.uniovi.es/Users/JGAntuna.html

_________________________________________________________________________

                "Contra la estupidez, los propios dioses luchan en vano"

Comments

Got something to say?

You must be logged in to post a comment.