Date: Mon, 13 Aug 2018 12:24:34 +0800 (SGT) From: khoogc <khoogc@singnet.com.sg> To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: pkg version libpkg_1.4 - UPDATE Message-ID: <312928386.2436.1534134274537.JavaMail.defaultUser@defaultHost> In-Reply-To: <2139045521.6371.1531903849843.JavaMail.defaultUser@defaultHost> References: <2139045521.6371.1531903849843.JavaMail.defaultUser@defaultHost>
next in thread | previous in thread | raw e-mail | index | archive | help
1. I downloaded ports and in /usr/ports/ports-mgmt/pkg did a make 2. The make completed with a warning about exiting on some signal, but a check of the work directory showed the libpkg.so.4 to be present. So 3. I did make deinstall; make reinstall clean. And now pkg works. 4. pkg info pkg shows -- >pkg-1.10.5_1 >Name : pkg >Version : 1.10.5_1 >Installed on : Wed Aug 8 18:49:33 2018 SGT >Origin : ports-mgmt/pkg >Architecture : FreeBSD:11:amd64 >Prefix : /usr/local >Categories : ports-mgmt >Licenses : BSD2CLAUSE >Maintainer : pkg@FreeBSD.org >WWW : https://wiki.freebsd.org/pkgng >Comment : Package manager >Shared Libs provided: > libpkg.so.4 >Annotations : > FreeBSD_version: 1102000 >Flat size : 12.0MiB >Description : >Package management tool >WWW: https://wiki.freebsd.org/pkgng 5. I am happy. Thanks and Regards Richard KHOO Guan Chen >----Original Message---- >From : khoogc@singnet.com.sg >Date : 18/07/2018 - 16:50 GMT+8 >To : steve@sohara.org >Cc : freebsd-questions@freebsd.org >Subject : Re: pkg version libpkg_1.4 > > >>----Original Message---- >>From : steve@sohara.org >>Date : 17/07/2018 - 18:14 GMT+8 >>To : khoogc@singnet.com.sg >>Cc : freebsd-questions@freebsd.org >>Subject : Re: pkg version libpkg_1.4 >> >>On Tue, 17 Jul 2018 17:25:32 +0800 (SGT) >>khoogc <khoogc@singnet.com.sg> wrote: >> >>> Hi, >>> >>> I have upgraded to 11.2 from 11.1 and now find I cannot use pkg. When I >>> call pkg as root, I get "/usr/local/lib/libpkg.so.4: version LIBPKG_1.4 >>> required by /usr/local/sbin/pkg not defined" >>> >>> Help. How do I rectify this? Thanks >> >> Try this: >> >> pkg-static upgrade -f >> >>-- >>Steve O'Hara-Smith <steve@sohara.org> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > Sorry earlier message incomplete. > >----below is the complete run ----- >root@fbsd110:/usr/home/khoogc # pkg-static upgrade -f >Segmentation fault (core dumped) > >root@fbsd110:/usr/home/khoogc # gdb pkg-static >GNU gdb 6.1.1 [FreeBSD] >Copyright 2004 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... >(gdb) break main >No symbol table is loaded. Use the "file" command. >(gdb) run >Starting program: /usr/local/sbin/pkg-static >warning: shared library handler failed to enable breakpoint > >Program received signal SIGSEGV, Segmentation fault. >0x000000000076fc40 in ?? () >(gdb) >---------------------------------------------------------- > >Thanks > >Regards Richard Khoo Guan >_______________________________________________ >freebsd-questions@freebsd.org mailing list >https://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?312928386.2436.1534134274537.JavaMail.defaultUser>