ld

Stelios Bounanos sb at dial.pipex.com
Sat Nov 3 20:11:01 EET 2001


On Sun, Nov 04, 2001 at 07:26:52AM +0200, Άγγελος Οικονομόπουλος 
 <lydwigvernon at yahoo.co.uk> was rumoured to have said:

> Xwris logia:
> 
> $ cd ~/downloads/xscreensaver/xscreensaver-3.33
> $ configure
> ...
> $ make
> ...
> gcc...
> -L/usr/X11R6/lib -lXpm  -lSM -lICE -lXt -lX11 -lXmu -lXext  -lm
> /usr/bin/ld: cannot find -lXpm
> collect2: ld returned 1 exit status
> make[1]: *** [blitspin] Error 1
> make[1]: Leaving directory 
> `/home/aggelos/downloads/xscreensaver/xscreensaver-3.33/hacks'
> make: *** [default] Error 5
> $ ?
> bash: ?: command not found
> $  ll /usr/X11R6/lib/ | grep -i xpm
> lrwxrwxrwx    1 root     root           14 Οκτ 29 03:25 libXpm.so.4 -> 
> libXpm.so.4.11
> -rwxr-xr-x    1 root     root        61584 Δεκ  9  2000 libXpm.so.4.11

[snip]

% ls -lh /usr/X11R6/lib/libXpm*
-rw-r--r--    1 root     root          77k Oct 25 15:28 /usr/X11R6/lib/libXpm.a
lrwxrwxrwx    1 root     root           11 Oct 27 19:52 /usr/X11R6/lib/libXpm.so -> libXpm.so.4
lrwxrwxrwx    1 root     root           14 Oct 27 19:49 /usr/X11R6/lib/libXpm.so.4 -> libXpm.so.4.11
-rw-r--r--    1 root     root          52k Oct 25 15:28 /usr/X11R6/lib/libXpm.so.4.11

% dpkg -S /usr/X11R6/lib/libXpm.so
xlibs-dev: /usr/X11R6/lib/libXpm.so

> 
> H8iko didagma: panta na xrhsimopoieite to su -c "".
> To sumpan dokimazei thn psuxraimia sou kuriws otan exeis uid 0
> Bebaia den exw kanena logo na neuriazw afou einai sigouro ( dedomenhs ths 
> asxetosumhs mou ) pws egw exw kanei kapoia malakia kai 8a bre8ei[0] kapoios 
> apo edw mesa pou den 8elei na me dei na to gurizw se os2 kai 8a me 
> epimorfwsei panw sto 8ema twn libraries.

Bale kai to development paketo gia xlibs (toylaxiston sto debian to libXpm.so
einai mesa sto xlibs-dev). An to exeis ayto tote ftiakse ena symlink.
Poy mallon to exeis giati alliws 8a eprepe na mh briskei headers.
Ti distro trexeis? :-)

> 
> [0] twra pou to 3anaskeftomai o kosmos exei kai alles douleies na kanei 
> alla me thn apeilh na bootarw to os2 olo kai kapoios 8a niwsei enoxes :)

Mpaaa, mporeis na bootareis kai windows 3.0 for all we care :))


Rgds,
/-sb.

-- 

Stelios Bounanos <sb at dial.pipex.com>
  ..............7500000 years later:
  The Ultimate Answer is 42.
  (next mail will give the Question)



More information about the Linux-greek-users mailing list