Subversion 1.0.4 install problem
apeiron at comcast.net
Tue Jun 8 18:18:52 GMT 2004
On Mon, Jun 07, 2004 at 15:28:18 EDT, Andrew Carter scribbled these
> The make part works fine but during install, I get errors complaining that
> libaprutil-0.so.9 and libapr-0.so.9 can't be found. These files are in
> /usr/local/lib/apache2 but for whatever reason the port can't find them.
The problem is that, for some reason, /usr/local/lib/apache2 isn't in
your library search path. I've solved this by doing:
ldconfig -m /usr/local/lib/apache2
It's important that you use the -m flag: otherwise, all of your existing
library search paths will be erased, and you'll be very lucky to fix
I've seen this problem on two machines, but am not exactly sure of how
to fix it. My guess is that it's something with www/apache2, but it's
very likely that I'm wrong.
> I created symbolic links (ln -s) for the two libapr* shared libraries in
> /usr/local/lib and it appears to work. Anyone know what's going on here?
Don't *ever* use symbolic links to resolve library issues. *EVER*. It
will only dig you into a hole that may one day become impossible to
escape. This might be a flippant reaction, but I speak from experience.
In fact, once you do the ldconfig command, it may be wise to remove
those symlinks just to be safe. Subversion will still work, because the
linker (at least AFAIK) searches by library name, not by hardcoded
paths. If it doesn't, you'll have to reinstall.
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
Unix is user friendly. However, it isn't idiot friendly.
Please CC me in all replies, even if I'm on the relevant list(s).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040608/bfa16ba1/attachment.bin
More information about the freebsd-ports