Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-03

Error when linking Lazarus

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Guaracy Monteiro: � I follow steps by howto and ... � execute script new_ppc (cycle compiler, move .o…

From: Guaracy Monteiro

Hi, I follow steps by howto and ...

[snip]

Show quoted text 15 lines
cd lazarus make ..... Assembling project Assembling lazarus Linking ./lazarus /usr/bin/ld: cannot open -lX11: No such file or directory lazarus.pp(122) Warning: Error while linking Closing script ./ppas.sh 33773 Lines compiled, 46.6 sec lazarus]$ in short, i can't compile Lazarus. Some help?

This sounds familiar. A while ago there was a discussion about this. You can look at:
http://www.miraclec.com/list_archives/lazarus/10-22-99_3-8-00/threads.html

Search for: [lazarus] Linking Error

In short: look if you have libX11.so (as a sysmlink to libX11.so.?.?)

From: Peter Vreman

you wrote
I got it to work. Corel had libX11.so.6.3 but didn't have a link called libX11.so so it wasn't finding it.

The reason is that he doesn't have the -dev package installed. Only the -dev packages contain *.so files. The libs packages contain the *.so.* files only which are needed to run the programs.

Marc

Guaracy Monteiro

Hi,
�
I follow steps by howto and
...
�
execute script new_ppc (cycle compiler,
move .o and .ppu to units/linux)
when i try to compile fcl an error (can't
open include file systemh.inc)
�
fcl]$ makemake -C
linux allmake[1]: Entering directory `/opt/fpc/fcl/linux'make -C ../../packages/zlib allmake[2]: Entering directory `/opt/fpc/packages/zlib'ppc386 -Fu../../rtl/linux -Fu../../units/linux -di386 zlib.ppFree Pascal Compiler version 0.99.15 [2000/03/14] for i386Copyright (c) 1993-2000 by Florian KlaempflTarget OS: Linux for i386Compiling zlib.ppCompiling
/opt/fpc/rtl/linux/syslinux.ppsyslinux.pp(34,2) Fatal: Can't open include file systemh.incmake[2]: *** [zlib.ppu] Error 1make[2]: Leaving directory `/opt/fpc/packages/zlib'make[1]: *** [package_zlib] Error 2make[1]: Leaving directory `/opt/fpc/fcl/linux'
then i do this ...
�
cd /opt/fpcrm units/linux/*make
rtl_cleanmake fcl_cleanmake packages_cleanmake rtl_allmake fcl_allmake packages_all
works fine, but whem i compile Lazarus
...
�
cd lazarusmake.....Assembling
projectAssembling lazarusLinking ./lazarus/usr/bin/ld: cannot open -lX11: No such file or directorylazarus.pp(122) Warning: Error while linkingClosing script ./ppas.sh33773 Lines compiled, 46.6 lazarus]$
�
in short, i can't compile
Lazarus.
�
Some help?
�
TIA
�
Guaracy B. Monteiro
�
<A
href="http://www.guaracy.f2s.com">http://www.guaracy.f2s.com (beta)
�
�