Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem compiling gs4.03 on Solaris 2.5.1

0 views
Skip to first unread message

Taeko Thompson

unread,
Feb 26, 1997, 3:00:00 AM2/26/97
to

I just can not compile ghostscript 4.03 on Solaris 2.5.1.
I get the following error when I try to compile it:

.
.
.
/bin/sh <ldt.tr
Undefined first referenced
symbol in file
socket /usr/local/X11/lib/libX11.so
IceProcessMessages /usr/local/X11/lib/libXt.so
getpeername /usr/local/X11/lib/libX11.so
SmcDeleteProperties /usr/local/X11/lib/libXt.so
xdrmem_create /usr/local/X11/lib/libX11.so
SmcSaveYourselfDone /usr/local/X11/lib/libXt.so
gethostbyname_r /usr/local/X11/lib/libX11.so
SmcGetIceConnection /usr/local/X11/lib/libXt.so
setsockopt /usr/local/X11/lib/libX11.so
SmcRequestSaveYourselfPhase2 /usr/local/X11/lib/libXt.so
SmcSetProperties /usr/local/X11/lib/libXt.so
SmcClientID /usr/local/X11/lib/libXt.so
authdes_create /usr/local/X11/lib/libX11.so
inet_addr /usr/local/X11/lib/libX11.so
ld: fatal: Symbol referencing errors. No output written to gs
*** Error code 1
make: Fatal error: Command failed for target `gs'

There is X11R6 on the machine. Does anybody have any idea why I can not compile this?

thank you in advance

--
Taeko Thompson
Wizards of the Coast
thom...@wizards.com

Christoph Litauer

unread,
Feb 27, 1997, 3:00:00 AM2/27/97
to Taeko Thompson

You need some additional Libs: -lSM -lICE -lnsl -lsocket
Look into your makefile and add them at the appropriate places.

Regards
Christoph


In article <thompson.857021091@castle>,


thom...@castle.wizards.com (Taeko Thompson) writes:
>I just can not compile ghostscript 4.03 on Solaris 2.5.1.
>I get the following error when I try to compile it:
>

-------------------------------------------------------------------------------
Christoph Litauer lit...@informatik.uni-koblenz.de
Universitaet Koblenz, Rechenzentrum, Fon: +49 261 9119-641
Rheinau 1, D-56075 Koblenz, Germany Fax: +49 261 9119-497


Paul Civati

unread,
Mar 1, 1997, 3:00:00 AM3/1/97
to

In article <thompson.857021091@castle>,
thom...@castle.wizards.com (Taeko Thompson) writes:

> I just can not compile ghostscript 4.03 on Solaris 2.5.1.
> I get the following error when I try to compile it:

> .
> /bin/sh <ldt.tr
> Undefined first referenced
> symbol in file
> socket /usr/local/X11/lib/libX11.so
> IceProcessMessages /usr/local/X11/lib/libXt.so

...


> ld: fatal: Symbol referencing errors. No output written to gs
> *** Error code 1
> make: Fatal error: Command failed for target `gs'
> There is X11R6 on the machine. Does anybody have any idea why I can not
> compile this?

Perhaps you need to supply a modified library path?

IME the standard place for X11R6 is /usr/X11R6/{bin,lib,include}, which
is where your gs Makefile maybe looking, and hence not finding the libs.

-Paul-

--
Paul Civati =O= Home: pa...@xciv.org =O= http://www.xciv.org/
London UK =O= Home: pa...@xciv.demon.co.uk =O= Slackware is.

Casper H.S. Dik - Network Security Engineer

unread,
Mar 3, 1997, 3:00:00 AM3/3/97
to

pa...@xciv.org (Paul Civati) writes:

}In article <thompson.857021091@castle>,
} thom...@castle.wizards.com (Taeko Thompson) writes:

}> I just can not compile ghostscript 4.03 on Solaris 2.5.1.
}> I get the following error when I try to compile it:
}> .

}> socket /usr/local/X11/lib/libX11.so
}> IceProcessMessages /usr/local/X11/lib/libXt.so
}...

}> There is X11R6 on the machine. Does anybody have any idea why I can not
}> compile this?

}Perhaps you need to supply a modified library path?

}IME the standard place for X11R6 is /usr/X11R6/{bin,lib,include}, which
}is where your gs Makefile maybe looking, and hence not finding the libs.


I think he should just use the standard Solaris 2.x X libraries, I asume
that works even for recent versions of gs?

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

0 new messages