Operating System - HP-UX
1753768 Members
5185 Online
108799 Solutions
New Discussion юеВ

"ld" can not find "libXext" library

 
SOLVED
Go to solution
Bellas-Velidis Ioannis
Occasional Advisor

"ld" can not find "libXext" library

Hi,

please for your help to solve the following problem:

while building a GUI, the corresponding make includes the use of -lXext and the ld stops with:
/usr/ccs/bin/ld: Can't find library "Xext"

There are libXext.2 and libXext.3 in the /usr/lib/X11R6 directory, libXext.1 in the /usr/lib/X11R5, and libXext.sl in the /usr/lib/X11R4.
I am using an HP D250/2 and HP-UX 11.0.

Thanks in advance,

Iannis Bellas-Velidis
2 REPLIES 2
Herve BRANGIER
Respected Contributor
Solution

Re: "ld" can not find "libXext" library

Hi

2 ideas :

1) Add -L/usr/lib/X11R6 in your directives

2) Add a link libXext.a->/usr/lib/X11R6/libXext.3

HTH

Herv?


Santosh Nair_1
Honored Contributor

Re: "ld" can not find "libXext" library

Herve,

I think you have a typo in the second comment...it should read:

Add a link libXext.sl->/usr/lib/X11R6/libXext.3

.a denotes an archived library whereas .sl denotes a shared library. The .number libraries are shared lib.

-Santosh

Life is what's happening while you're busy making other plans