Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

FreeBSD compiles should automatically add --extra-lib-dirs=/usr/local/lib #582

Closed
bos opened this Issue · 3 comments

2 participants

@bos
Owner

(Imported from Trac #589, reported by markstos on 2009-09-21)

FreeBSD stores a number of standard things in /usr/local/lib, such as the 'curl' libraries that darcs needs to compile against. Cabal should detect that FreeBSD is the platform and look in this lib directory automatically.

Reference my experience trying to install darcs on FreeBSD:
http://www.mail-archive.com/darcs-users@darcs.net/msg12611.html

@bos
Owner

(Imported comment by @dcoutts on 2009-09-21)

Of course users can change their ~/.cabal/config to specify that headers and libs should also be looked for in /usr/local/include and /usr/local/lib.

I'm suspicious of making that the default and overriding the existing system default. If it should be the default for FreeBSD because essential parts of the system are installed in /usr/local then why isn't it the system default already? Surely we should use the default system linker path. If a C lib is not available on the default path then it requires intervention from the user. Surely FreeBSD users must be used to this? What do other package managers on FreeBSD do? Do they really compensate for silly system defaults?

@bos
Owner

(Imported comment by @dcoutts on 2009-12-22)

Nothing is going to happen with this ticket unless we get some feedback from FreeBSD users/developers.

@gregorycollins

Closing old FreeBSD ticket. If you're on FreeBSD, you're working around enough problems already that you can manage to put the right settings in your ~/.cabal/config, and if that's not enough for you, you can send us a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.