-lX11
Liakakis Kostas
kostas at rincewind.techpath.gr
Sat May 17 12:50:53 EEST 1997
On Fri, 16 May 1997, Jiannis Mitsos wrote:
> Mhmpws gnwrizei kaneis giati otan kanw compile ena programma to
> opoio xreiazetai kai thn libX11 kai dinw -lX11 sto gcc mou leei
> oti den briskei o ld tis apaitoymenes libraries ...
Giati den exeis to /usr/X11R6/lib sto search path tou linker (ld). Me
-L/usr/X11R6/lib to pros0eteis. Apo monos tou o ld psaxnei mono sto
/usr/lib. Mporeis na epembeis sto specs ths gcc
(/usr/lib/gcc-lib/..../specs) kai na to pros0eseis, alla, pragmatika se
kanena unix eos tora den exo dei to /usr/X11R6/lib na briskete sto default
search path tou ld. Synepos einai protimotero na to pros0eteis me to xeri
opou xreiazetai...
> Exw dokimasei na kanw ldconfig alla tipota den egine .
Aiieee... to ldconfig einai gia ton dynamic linker, ton ld.so Den exei
kamia sxesh me to linking tou programmatos apo th gcc. To ldconfig grafei
to /etc/ldso.cache opou krata pou briskontai oi shared libraries sto
systhma sou oste otan ena ektelesimo programma tis zhthsei na 3erei pou 0a
tis brei, xoris na psaxnei se ola ta directories...
> Pio sygkekrimena prospa8w na egkatasthsw to K desktop (enviroment
> gia X ) kai xreiazetai to paketo qt to opoio otan to kanw
> egkatastash meta den to briskei pali o linker !! exw akoloy8hsei
> oles tis odhgies ... me gcc .... -L/usr/local/qt -L/usr/X11R6
> ginetai kanonika compile !! ti mporei na ftaiei ???
Akribos... An kai me para3eneuei ligo to gegones oti to makefile tou K
desktop den exei hdh ta options gia na psa3ei sto /usr/X11R6/lib...
Pantos an 0eleis ti dikh mou gnomh tipote den ftaiei kai ola einai opos
prepei na einai :-)
-K.
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list