Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2018 12:22:58 +0800 (SGT)
From:      khoogc <khoogc@singnet.com.sg>
To:        FreeBSD@ShaneWare.Biz
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg version libpkg_1.4
Message-ID:  <727393103.2700.1531974178214.JavaMail.defaultUser@defaultHost>
In-Reply-To: <0c48d3f7-1975-15ca-6a10-e18bcc1fd1c2@ShaneWare.Biz>
References:  <1332416516.4250.1531900735043.JavaMail.defaultUser@defaultHost> <0c48d3f7-1975-15ca-6a10-e18bcc1fd1c2@ShaneWare.Biz>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

>----Original Message----
>From : FreeBSD@ShaneWare.Biz
>Date : 19/07/2018 - 07:29 GMT+8
>To : khoogc@singnet.com.sg
>Cc : freebsd-questions@freebsd.org
>Subject : Re: pkg version libpkg_1.4
>
>On 18/07/2018 17:28, khoogc wrote:
>> 
>>> ----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>
>>>
>>  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
>> "
>
>If you have a ports tree in place, try building it.
>
>cd /usr/ports/ports-mgmt/pkg
>make deinstall install clean
>
>
>-- 
>FreeBSD - the place to B...Software Developing
>
>Shane Ambler
>
>

Thanks. I did and still no go.

------- results -----
root@fbsd110:/usr/ports/ports-mgmt/pkg # make
make: "/usr/ports/Mk/bsd.port.mk" line 1224: warning: "/usr/local/sbin/pkg-static version -t 1.10.5 1.6.0" exited on a signal
root@fbsd110:/usr/ports/ports-mgmt/pkg # 
----------------------

Sigh Looks like I have a real screwed up system or hardware. This is a mac desktop id as a
-- Mac Pro "Quad Core" 2.8 (2008) Specs (Early 2008, BTO_CTO, MacPro3,1, A1186, 2180 --
?!#$!!X  Apple. I had problem installing freebsd on it as installer 10.2 &  11.0 installer gave me multiple distorted screens. I finally installed on hard disk on an old P4 and transferred the hd.

Thanks everyone. I will just leave it as it is. Not important computer.

Regards
Richard Khoo Guan Chen



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?727393103.2700.1531974178214.JavaMail.defaultUser>