gtk20 install problem

Kent Stewart kstewart at
Thu Apr 8 05:07:43 PDT 2004

On Thursday 08 April 2004 04:22 am, John Davis wrote:
> Hi,
> I am trying to install "mplayer" which requires "gtk20", however,
> I am getting the following error message when attempting to install
> gtk20 using:
> # portupgrade -Nfpr /usr/ports/x11-toolkits/gtk20
> I have glib-2.4.0 installed.
> ===>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib
> ===>   Registering installation for glib-2.4.0
> ===>  Building package for glib-2.4.0
> Creating package /usr/ports/devel/glib20/glib-2.4.0.tgz
> Registering depends: gettext-0.13.1_1 expat-1.95.7 libiconv-1.9.1_3
> pkgconfig-0.15.0.
> Creating gzip'd tar ball in '/usr/ports/devel/glib20/glib-2.4.0.tgz'
> ===>   Returning to build of gtk-2.4.0
> Error: shared library "glib-2.0.200" does not exist

This is the previous version of glib that it is trying to load. 
Something in your port setup w/r glib is wrong. I would run cvsup 
ports-all, portsdb -uU, and then portupgrade -rfp glib. 

This could take a while (13 housrs on an AMD 2400+ XP). Gtk-2.4.0 
depends on atk and pango, which also depend on glib 2.4.0. You could 
force the portupgrade of atk pango. I don't use -N but do use -pf and 
then try the update to gtk-2.4.0. I would be surprised if you don't 
have the older version of gtk-2.2.4 installed, which was updated to 
2.4.0. I don't trust what I saw the -N produce but that is because I 
didn't see the build output.


> *** Error code 1
> Stop in /usr/ports/x11-toolkits/gtk20.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /home/brian/.tmp/portupgrade70438.0 make DEPENDS_TARGET=package
> ** Fix the problem and try again.
> ** Listing the failed packages (*:skipped / !:failed)
>         ! x11-toolkits/gtk20    (dependent libraries)
> --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> Does anyone know how I can remedy this problem?
> Thanks,

Kent Stewart
Richland, WA

More information about the freebsd-questions mailing list