Bill Allombert on Tue, 3 Dec 2002 23:07:32 +0100


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

Re: --host in Configure


On Tue, Dec 03, 2002 at 01:53:21PM -0800, Justin C. Walker wrote:
> > Could you send me the output of
> > ls -l /usr/local/lib/libpari*
> > ?
> 
> Here's what I have:
> 
> -rwxr-xr-x  1 justin  unknown  2823536 Dec  3 13:26 
> /usr/local/lib/libpari-2.2.2.dylib
> lrwxr-xr-x  1 justin  unknown       17 Dec  3 13:26 
> /usr/local/lib/libpari-2.2.a -> libpari-2.2.a.2.2
> -rw-r--r--  1 justin  unknown  4541332 Nov 25 18:46 
> /usr/local/lib/libpari-2.2.a.2.2
> 
> > Maybe try to remove /usr/local/lib/libpari-2.2.a to get a simpler error
> > message.
> 
> As could be predicted (:-}), it complained of a missing lib:
> 
> ld: can't locate file for: -lpari-2.2
This mean it cannot find libpari-2.2.dylib, but there are none in
/usr/local/lib so it fails.

I have made a wrong assumption on how configure work, so the symlinks are
wrong.  Please add a symlink:

ln -s libpari-2.2.2.dylib /usr/local/lib/libpari-2.2.dylib

This should fix the problem, if we are lucky.

Now I would really happy if someone (Ilya?) would split Configure
in small parts and remove the kludges.

I do not know how to add the soversion *before* the dylib suffix with 
configure.

Also if you need the static library, please run ranlib on it.

Cheers,
Bill.