Subversion 1.0.4 install problem

Christopher Nehren apeiron at
Tue Jun 8 18:18:52 GMT 2004

On Mon, Jun 07, 2004 at 15:28:18 EDT, Andrew Carter scribbled these
curious markings:
> The make part works fine but during install, I get errors complaining that
> and 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
them again.

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
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list