Need to use some library path before /usr/lib

Gerald Pfeifer gerald at
Sun Sep 20 21:45:30 UTC 2009

On Thu, 17 Sep 2009, Jason J. Hellenthal wrote:
> Something like the following.
> [/usr/local/bin/]
>            /usr/local/lib/gcc44/
>          /usr/local/lib/gcc44/

That looks quite nice, and I was going to use that, alas I cannot
seem to make it work.  Is it possible that libmap.conf does not work
when the name on the left-hand side is the same as on the right-hand

> On a second note. It would be real nice if the install of a second/third 
> compiler would get installed into its own directory rather than placing 
> executables in /usr/local/bin/ place them /usr/local/lib/gcc44/bin and 
> create the symlinks to them. This would at least help the libmap issue 
> and gcc44 for several ports (just building).

It wouldn't really help since the resulting binaries need the very same 

> Now for a port running (octave as example) have that port spam libmap.conf
> with the proper configuration for just that port the same way perl does to
> make.conf.

That might work, though it looks like a lot of work.  It occurs to me
we really need to set this globally.  That is one of the implications
those that always pushed for having ports use a distinct compiler may
have missed.  That, or using -rpath.

Loren, how would we best have GCC automatically add 
to every invocation?  Presumably spec magic?

Gerald (Jerry) Pfeifer   gerald at

More information about the freebsd-ports mailing list