[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compile problem



On Mon, 17 Mar 1997, David Puryear wrote:

> Hi all,
> 
> When I try to compile a program with -l*(anything from /usr/X11R6/lib), I get
> no such a file or directory error. I have /usr/X11R6/lib in my /etc/ld.so.conf,
> and I have ran ldconfig -v. I'm out of ideas as to what I need to do in order to
> make this error message go away. So far, I have just link files from
> /usr/X11R6/lib/* to /usr/lib/, but this is so ugly.
> 
> Thanks for any help,
> David
> I have ran ldconfig -v. I'm running ideas as to what I need to do in order
> to make this error message go away. So far, I have just link files from
> /usr/X11R6/lib/* to /usr/lib/, but this so ugly
> 
Make sure that the primary so links (libxxx.so) point to the actual
library (libxxx.so.y.z) rather than the intermediate link (libxxx.so.y).
This should fix the compile. The gcc linker seems to not be able to follow
repetative links farther than one level.

Luck,

Dwarf
-- 
_-_-_-_-_-_-                                          _-_-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (904) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


Reply to: