Subject: Re: ld: cannot find -lXi
From: Hubert Figuière (hfiguiere@teaser.fr)
Date: Thu Jan 18 2001 - 01:16:49 CST
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
This archive was generated by hypermail 2b25 : Thu Jan 18 2001 - 01:13:50 CST