Linux binary looks for /proc/cpuinfo, dies when cannot be found, even when linprocfs mounted.

Konstantin Belousov kostikbel at gmail.com
Sat Jun 23 08:57:31 UTC 2012


On Sat, Jun 23, 2012 at 02:23:42PM +1200, Benjamin wrote:
> 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.
To be sure, show us the mount -v output.

> 
> 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?
No, it did not came up before.

Show the file(1) output on the binary which exhibit the faulty behaviour.
> 
> Cheers,
> 
> Benjamin
> 
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120623/8748c0af/attachment.pgp


More information about the freebsd-ports mailing list