This forum has been archived. Please start a new discussion on GitHub.

solution to install ICE-3.1.1 on freebsd.6.1

my english is not good, i hope you guys can understand.:p

link error occured when i make Ice on freebsd.6.1 using GNU Make.

i searched this forum, but no one reported the problem,
so i fixed it myself.

modify the file "config/Make.rules.FreeBSD"
add "rpathlink" definition under "mklib" defintion.
shown below (the red line must be inserted):

mklib = ar cr $(1) $(2)

rpathlink = -Wl,-rpath-link,$(1)

then, make again, problem solved.