Date: Wed, 26 Oct 2016 00:32:33 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Newbie fankle Message-ID: <8667d780-d250-615e-5f41-1434058426b2@FreeBSD.org> In-Reply-To: <9046f3aa-eee1-1c30-687a-47c42eddece9@lingbrae.com> References: <9046f3aa-eee1-1c30-687a-47c42eddece9@lingbrae.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dsV66NorND9ihlIqoo0fN1hTgHKauwmip Content-Type: multipart/mixed; boundary="ouTMwhF1gCUSPcAsHPbaFcPIp3Tlt5L9P"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <8667d780-d250-615e-5f41-1434058426b2@FreeBSD.org> Subject: Re: Newbie fankle References: <9046f3aa-eee1-1c30-687a-47c42eddece9@lingbrae.com> In-Reply-To: <9046f3aa-eee1-1c30-687a-47c42eddece9@lingbrae.com> --ouTMwhF1gCUSPcAsHPbaFcPIp3Tlt5L9P Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 25/10/2016 21:48, Dick Middleton wrote: > I was playing with my new NanoPi-Neo and noticed there was a FreeBSD im= age > available for it so I thought I'd try it. >=20 > So I got to the point where I needed to install an editor so I did: >=20 > pkg update > pkg install zile >=20 > which all went OK but now whenever I run pkg it reports: >=20 > /lib/libc.so.7: version FBSD_1.5 required by /usr/local/lib/libpkg.so.3= not found >=20 > Googling I found: >=20 > https://lists.freebsd.org/pipermail/freebsd-pkgbase/2016-October.txt >=20 > which is the same problem. However I can't find how to fix the problem= =2E I'm > guessing I have to upgrade some base libraries but I've no idea how. >=20 > There's a thing call pkg-static which works so it's still possible to i= nstall > packages. >=20 > Can anybody help me The 'version FBSD_1.5' message indicates that the pkg(8) you installed was built against a more recent version of libc than you have installed. It also implies you're running 12-CURRENT, and you've unfortunately cut yourself on the bleeding edge. Theoretically that symbol version mismatch should never happen, because the symbol version in libc (and various other libraries) only gets increased in HEAD when the major version number gets incremented after a new X.0 release branch has been created. Except there's a window of perhaps a few weeks after creating a new branch where you can install 12-CURRENT before the symbol version gets updated. Then packages built after the symbol version gets updated will be seen as matching your version of the OS by pkg(8), but will result in the error message you are seeing. Your three possible courses of action here are: 1) build all your own packages from source which will automatically mean they work with the library versions present on your system. 2) update your system to a more recent version of HEAD, with the updated symbol version in libc and other libraries. This probably means finding a more recent pre-built image. 3) Override the automatic settings for ABI and ALTABI variables in pkg.conf to install packages for the previous major version. ie set ABI =3D "FreeBSD:10:amd64"; ALTABI =3D "freebsd:10:x86:64"; (I think this works, but haven't tried it properly. It may be that pkg(8) is too clever and still tells you you're installing packages for the wrong system version.) Cheers, Matthew --ouTMwhF1gCUSPcAsHPbaFcPIp3Tlt5L9P-- --dsV66NorND9ihlIqoo0fN1hTgHKauwmip Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYD+uRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATjaAQAJHacUIP26QkxQ8cG9LFYweW ZLdDOkWdfol8Dsv4/iTUJDT5HcANAdKHydaz932ieUdGLPbDNBDfwsgia/TIUBp4 0YBh64LANJRrGow2xEbuI4TcmXo1s2mpB+33TXh/IHHnBFbX8j9HxjfoAj3Ayi3v URpPCsLaGEztRomL31//ZrcrJguDi7XYvgPHqppf/CxNSCx2d11Rg1N6RlZZXAWH Xqkbcw6V1jPKUkDQu9InIvk7iZWzo1iO8k8my2C57ChJK3qd/aMEzXCpXEO8qpsn AohRX4BNVwYlHNeSIMXdO/eproXnXnXOpK4M2g+6+ARXeyR+Mhltmej34ZVe0s9I e4l37vzdzOewi18B51/PR+k/wVRo4TAcyXwGrCNvqBviS7NR/1Qrkm2GhYcHTUHv KcxHqtvSafTyREiDl+WU4j1kI+wCGmsq8ttOFyGbVHtKeAhJWkeSfqeLEOvnLfdC LTInoyOWt+Cqs53frhhARUD6EjePtzuHJRHmUEDS2MnzMUHs0CYVKo/H8vFBXt9p 7kRVUHTbAVSOpvKUbW605oj8EfEjcU5Du3sY0aZAQSHoeyRDtEBpTDaUuj5ACiyE EdD+M+f663epE0brs04jjsFktZHvtkDdVApo1BMnjKsN5jjTF3xXxwfyKCIi2Ddv 4cbxthbrxz0etxL/QE4V =JinZ -----END PGP SIGNATURE----- --dsV66NorND9ihlIqoo0fN1hTgHKauwmip--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8667d780-d250-615e-5f41-1434058426b2>