[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling c programs

On Wed 01 Mar 2000, Kor og Agnes van Hoegee wrote:

> I tried to compile the source-code of a program.
> The make command results in:
> /usr/bin/ld : cannot open -lXi: No such file or directory
> I think I am missing a libraryfile, but I don't know which one.

The error says which one: libXi.so

If you get the Contents-alpha.gz file from the ftp sites:

$ zgrep libXi.so Contents-alpha.gz
./usr/X11R6/lib/libXi.so                                    x11/xlib6g-dev
./usr/X11R6/lib/libXi.so.6                                  x11/xlib6g
./usr/X11R6/lib/libXi.so.6.0                                x11/xlib6g

So you need to install the xlib6g-dev package (if necessary that will
pull in the xlib6g package, but in this case you'll already have that).

Paul Slootman
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/

Reply to: