You are not logged in.

#1 2005-10-14 22:49:06

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Prolems with ld

Apperantly ld doesn't search in the /usr/X11R6/lib directory. I'm not sure why, seeing as /usr/X11...lib is listed in /etc/ld.so.conf .

To see what I mean, try this:

ld -lXcursor

It will most likely return that it can't find Xcursor (which is in /usr/X...lib). Now try

ld -lfreetype

and it should return something else. libfreetype.so is in /usr/lib and gets found correctly.

Obviously something isn't right here, but I can't put my finger on what causes the problem. Any help would be greatly appreciated.


·¬»· i am shadowhand, powered by webfaction

Offline

#2 2005-10-15 07:21:44

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Prolems with ld

ld -L/usr/X11R6/lib -lXcursor

Offline

#3 2005-10-15 08:45:15

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Prolems with ld

Thanks! Got it working. Is there any reason why ld doesn't automatically look there?


·¬»· i am shadowhand, powered by webfaction

Offline

Board footer

Powered by FluxBB