Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2012 11:57:16 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Benjamin <byu17@uclive.ac.nz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Linux binary looks for /proc/cpuinfo, dies when cannot be found, even when linprocfs mounted.
Message-ID:  <20120623085716.GM2337@deviant.kiev.zoral.com.ua>
In-Reply-To: <4FE528AE.8070005@uclive.ac.nz>
References:  <4FE528AE.8070005@uclive.ac.nz>

next in thread | previous in thread | raw e-mail | index | archive | help

--1ZSqOBn16zpYZVlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
=20
> that I post it here.
>=20
> I am currently porting Altera Quartus II design software to FreeBSD. I=20
> have got it installing, but running the binary requires /proc/cpuinfo to=
=20
> exist, and it dies when it can't find it.
>=20
> I have both procfs and linprocfs mounted.
To be sure, show us the mount -v output.

>=20
> As a workaround (read hack) I can do the following to make the binary=20
> execute.
>=20
> 1. unmount procfs.
> 2. symlink /compat/linux/proc/cpuinfo to /proc/cpuinfo
>=20
> Since this problem has no doubt come up before, what is the best way to=
=20
> get around this issue?
No, it did not came up before.

Show the file(1) output on the binary which exhibit the faulty behaviour.
>=20
> Cheers,
>=20
> Benjamin
>=20
>=20
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

--1ZSqOBn16zpYZVlF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk/lhOsACgkQC3+MBN1Mb4gfdgCfezQsGIjRRoYe5POYdcUO2fU1
PfIAoOSNgNENqGQmK/DtaOoKuj7t3rr5
=Ylw/
-----END PGP SIGNATURE-----

--1ZSqOBn16zpYZVlF--



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