Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2012 14:23:42 +1200
From:      Benjamin <byu17@uclive.ac.nz>
To:        <freebsd-ports@freebsd.org>
Subject:   Linux binary looks for /proc/cpuinfo, dies when cannot be found, even when linprocfs mounted.
Message-ID:  <4FE528AE.8070005@uclive.ac.nz>

next in thread | raw e-mail | index | archive | help
Hi all. I have posted this question on the forums, and it was suggested 
that I post it here.

I am currently porting Altera Quartus II design software to FreeBSD. I 
have got it installing, but running the binary requires /proc/cpuinfo to 
exist, and it dies when it can't find it.

I have both procfs and linprocfs mounted.

As a workaround (read hack) I can do the following to make the binary 
execute.

1. unmount procfs.
2. symlink /compat/linux/proc/cpuinfo to /proc/cpuinfo

Since this problem has no doubt come up before, what is the best way to 
get around this issue?

Cheers,

Benjamin





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE528AE.8070005>