[[lazarus] Linking Error]

Sebastian Guenther sguenther at gmx.de
Mon Feb 21 12:25:21 EST 2000


Shane Miller wrote:
> 
> Looks like the -lX11 is being created in the Link.res file and that file is used when linking.

X11 is needed for all X programs; I don't know exactly if it is
sufficient if the file "libX11.so" is present, or if "libX11.a" (the
a.out version for static linking) is necessary, too. If the a.out file
is needed, check if you have the X11 development package of your Linux
distribution installed.
Another thing you could try is to run "ldconfig", this scans all
directories listed in /etc/ld.so.conf for libraries. Check if the file
libX11.so is present and then check if its path is included in
/etc/ld.so.conf. (Run ldconfig after changing this configuration file)


- Sebastian






More information about the Lazarus mailing list