[[lazarus] Linking Error]

Shane Miller SMiller1 at stvgb.org
Mon Feb 21 09:44:45 EST 2000


That didn't work.  Where is the -lX11 coming from?  Is it in a file that I can change and add the entire path to it?
Shane

>>> mbukovjan at netscape.net 02/20/00 03:37AM >>>
I am using Red Hat and make/Makefiles, but make sure you:

1. Add the path to you X libraries in ppc386.cfg, like
-Fl/usr/X11R6/lib

or whichever path Corel Linux uses

2. In Red Hat, there is /etc/ld.so.conf. Add the line with
/usr/X11R6/lib

if it is missing. Then type (as root) ldconfig

This might (or maybe not) help the linker to find the correct libs. I assume
you have your X system installed :-)

Michal Bukovjan

"Shane Miller" <SMiller1 at stvgb.org> wrote:
> I've been getting linking errors since converting to Corel Linux.  Any help
would be appreciated because I have amde changes and will have to apply the
changes to CVS without testing otherwise.
> 
> I do a 
> ppc386 lazarus.pp
> 
> and I get
> 
> Linking Lazarus
> /usr/bin/ld: cannot open -lX11: No such file or directory.
> 
> Where is this -lX11 set?  Not in ppc386.cfg
> 
> Help!
> Shane
> 
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus 


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list