pkg version libpkg_1.4

khoogc khoogc at singnet.com.sg
Wed Jul 18 08:15:08 UTC 2018


>----Original Message----
>From : steve at sohara.org
>Date : 17/07/2018 - 18:14 GMT+8
>To : khoogc at singnet.com.sg
>Cc : freebsd-questions at freebsd.org
>Subject : Re: pkg version libpkg_1.4
>
>On Tue, 17 Jul 2018 17:25:32 +0800 (SGT)
>khoogc <khoogc at 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 at sohara.org>
>
 Thanks. Unfortunately I got "Segmentation fault (core dumped)"

I tried gdb pkg-static and got
"Starting program: /usr/local/sbin/pkg-static 
warning: shared library handler failed to enable breakpoint
"

I have no clue.

Regards
Richard KHOO Guan Chen


More information about the freebsd-questions mailing list