[[lazarus] Linking Error]

Shane Miller SMiller1 at stvgb.org
Mon Feb 21 13:07:23 EST 2000


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.

I found a bug in Corel's linux while I was doing this.  I got a good chuckle out of Cliff from it.
Corel had links called libX11.so.6 that pointed to the libX11.so.6.3 object.  So I copyed them to the desktop so I could rename them to libX11.so and copy them back.  Once done, I wanted to delete them off my desktop so I left-clicked and marked them on my desktop and pressed the DEL key.  It said "Are you sure?" I cursed and pressed YES.  Well, I noticed that I still had the files and my LIB directory was no where to be found.  Turns out that when you click on the desktop it doesn't take focus away from the file manager so when I pressed DEL it deleted the lib directory!

Luckily I got it out of the trash and restored it........lesson learned....

Shane
 

>>> Cliff.Baeseman at greenheck.com 02/21/00 11:32AM >>>
I just talked to him on the phone he has to create a few simlinks to fix his
problem since corel did some weird stuff in the libs. He  should be up and
running pretty quick now.

Cliff

-----Original Message-----
From: Sebastian Guenther [mailto:sguenther at gmx.de] 
Sent: Monday, February 21, 2000 10:45 AM
To: lazarus at miraclec.com 
Subject: Re: [[lazarus] Linking Error]


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

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

_________________________________________________________________
     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