Upgrading 8.2 to 9.1, Gnome issue

Joe Altman freebsd at chthonixia.net
Mon Jan 21 22:40:51 UTC 2013


On Mon, Jan 21, 2013 at 01:02:17PM +0530, Hrisikesh sahu wrote:
> 
> # portupgrade -fr gnome-session
> 
> But I am facing a problem "shared object libz.so.5 not found freebsd"

I see libz.so.6 in my /usr/lib on:

9.1-RELEASE FreeBSD 9.1-RELEASE #0 r245243: Wed Jan  9 18:25:14 EST 2013
root at whisperer.chthonixia.net:/usr/obj/usr/src/sys/WHISPERER  amd64

Remind me: did you buildworld and installworld prior to upgrading ports?

> I did all these steps to upgrade the ports
>  Code:
> 
> #pkgdb -fF
> # rm /var/db/pkg/pkgdb.db
> # portupgrade -arRn

While I wonder why you deleted your pkgdb.db, more to the point: did you
rebuild it?

> but i am facing a issue with -
>  Code:
> 
> /usr/local/sbin/portupgrade:1473:in `get_pkgname': Makefile broken
> (MakefileBrokenError)

My guess is that you did not rebuild the pkgdb.db...
 
> Please help me how to come out from this Makefile broken and "shared object
> libz.so.5 not found freebsd".

....and I'd do that before trying to solve fixing the libz.so.5 issue. 

Joe


More information about the freebsd-questions mailing list