On Thu, 26 Oct 2006, Theo Heusser wrote:
> Hello,
>
> Error: /usr/bin/ld: cannot find -IX11
>
>
> After having installed all the packages
> fpc-2.0.4-0.i586.rpm
> fpc-src-2.0.4-0.i386.rpm
> lazarus-0.9.18-0.i386.rpm
>
> via rpm and lazarus via YaST there has been a warning:
> failed dependencies
> Perl(Cwd) and two other Perl() -messages.
> I forced installation and lazarus worked, but did not compile any graphical
> application.
>
> Error Message:
> compiling project1.lpr
> linking project1
> /usr/bin/ld: cannot find -lpthread
>
>
> After Installing glibc-devel this error disappeared, but I got this one:
>
> compiling project1.lpr
> /usr/bin/ld: cannot find -IX11
> project1.lpr(17,1) Error: Error while linking
Just install X11-devel or create the symbolic link yourself:
cd /usr/X11/lib
ln -s libX11.so.6 libX11.so
You may get some other missing libraries, follow the same method.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives