Locating shared libraries
Stefan O'Rear
stefanor at cox.net
Wed Jun 13 18:22:18 EDT 2007
On Wed, Jun 13, 2007 at 10:05:11AM -0500, Rich Neswold wrote:
> On 6/13/07, Stefan O'Rear <stefanor at cox.net> wrote:
> >
> >> Did I understand that correctly that you don't want to see binaries
> >> with rpath's pointing to install directories such as /usr/lib/gcc-6.6?
> >> So, this forces us to use a wrapper in all cases.
> >
> >Please think seriously about mangling the names of Haskell libraries to
> >include version information and dropping them in $PREFIX/lib with every
> >other language's libraries. Haskell is not special, and users expect
> >libraries to be in /usr/lib. No wrapper needed, no RPATH needed, as far
> >as I can see no fanciness at all.
> >
>
> Actually, Haskell libraries ought to be placed in /usr/local/lib (or
> /usr/pkg/lib for systems that use the Package System:
> http://www.pkgsrc.org).
> Haskell libraries shouldn't mingle with the base OS libraries. But it
> shouldn't be separate from the other third-party libraries, either.
No, haskell libraries ought to be placed in /usr/lib when they are being
installed by the OS. I don't want my GHC 6.8 debian install to pollute
/usr/local.
(/usr/local is fine for local builds of course; that's why I used $PREFIX).
Stefan
More information about the Glasgow-haskell-users
mailing list