Subject: Re: ld: cannot find -lXi
From: Oliver McTwist (olly.mctwist@home.com)
Date: Thu Jan 18 2001 - 12:48:23 CST
On Thu, 18 Jan 2001 08:16:49 +0100
Hubert Figuière <hfiguiere@teaser.fr> wrote:
> Oliver McTwist wrote:
> >
> > I am unable to use the .7.12 binaries of Abiword b/c I am running Debian potatoe which uses glibc 2.1, the binaries are compiled against 2.2. I downloaded the source, including expat, wv and libiconv. I set them up at peers to my abi* folder. cd abi*, make. Things chugged along fine until I recieved this error:
> >
> > lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
> > Linking static /home/sam060/abi-0.7.12/src/Linux_2.2.18_i386_OBJ/bin/AbiWord_s
> > /usr/bin/ld: cannot find -lXi
> > collect2: ld returned 1 exit status
> > make[4]: *** [/home/sam060/abi-0.7.12/src/Linux_2.2.18_i386_OBJ/bin/AbiWord_s] Error 1
> > make[4]: Leaving directory `/home/sam060/abi-0.7.12/src/wp/main/unix'
> > make[3]: *** [build] Error 2
> > make[3]: Leaving directory `/home/sam060/abi-0.7.12/src/wp/main'
> > make[2]: *** [build] Error 2
> > make[2]: Leaving directory `/home/sam060/abi-0.7.12/src/wp'
> > make[1]: *** [build] Error 2
> > make[1]: Leaving directory `/home/sam060/abi-0.7.12/src'
> > make: *** [compile] Error 2
> > sam060@~/abi-0.7.12->
> >
> > Does anyone know what is going on here? What is the Xi library? and where does it look for it.
>
> I personnaly got the error. For me the solution was to not link
> statically at all.
> There is a switch in abi_defs.mk for this purpose.
>
> I also used Debian 2.2 (potato).
>
> Hub
Hub,
I cannot seem to find the switch you are talking about. I looked in abi_defs.mk, and in linux.mk. My knowledge of C/C++ is limited, and I am unfamiliar with the the code to begin w/. Could you give me a little more direction, please. ;}
Thanks in advance for your help.
-- it's only a temporary sig.
This archive was generated by hypermail 2b25 : Thu Jan 18 2001 - 12:36:57 CST