Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

version conflict for package "zlibtcl": have 1.2.8, need exactly 1.2.7

155 views
Skip to first unread message

kve...@google.com

unread,
Jun 18, 2013, 3:55:42 PM6/18/13
to
I just did a teacup update and now I cannot load Img--I'm getting versioning error: version conflict for package "zlibtcl": have 1.2.8, need exactly 1.2.7

This is on Ubuntu, version 8.6.0 for x86_64.

Drilling down, the problem is between pngtcl and zlibtcl. pngtcl first loads zlibtcl (1.2.8 is the latest) then loads libpngtcl1.4.12.so. But the library requires zlibtcl 1.2.7.

One work-around is to do:
package require -exact zlibtcl 1.2.7
package require Img

Keith

Don Porter

unread,
Jun 18, 2013, 4:20:20 PM6/18/13
to
On 06/18/2013 03:55 PM, kve...@google.com wrote:
> I just did a teacup update and now I cannot load Img--I'm getting versioning error: version conflict for package "zlibtcl": have 1.2.8, need exactly 1.2.7
>
> This is on Ubuntu, version 8.6.0 for x86_64.
>
> Drilling down, the problem is between pngtcl and zlibtcl. pngtcl first loads zlibtcl (1.2.8 is the latest) then loads libpngtcl1.4.12.so. But the library requires zlibtcl 1.2.7.

Find out what is using the "-exact" option and stop it.

--
| Don Porter Applied and Computational Mathematics Division |
| donald...@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|

Tim Wallace

unread,
Jun 18, 2013, 4:48:06 PM6/18/13
to
I had the same problem--just worked around it by package requiring
-exact zlibtcl 1.2.7 before doing package require Img. But someone
should fix the real bug!

--Tim

keithv

unread,
Jun 19, 2013, 1:58:48 PM6/19/13
to
On Tuesday, June 18, 2013 1:20:20 PM UTC-7, Don Porter wrote:
> On 06/18/2013 03:55 PM, kvetter
>
> > I just did a teacup update and now I cannot load Img--I'm getting versioning error: version conflict for package "zlibtcl": have 1.2.8, need exactly 1.2.7
>
> >
>
> > This is on Ubuntu, version 8.6.0 for x86_64.
>
> >
>
> > Drilling down, the problem is between pngtcl and zlibtcl. pngtcl first loads zlibtcl (1.2.8 is the latest) then loads libpngtcl1.4.12.so. But the library requires zlibtcl 1.2.7.
>
>
>
> Find out what is using the "-exact" option and stop it.

okay, pngtcl/pkgIndex.tcl needs the "-exact" option when it imports zlibtcl.

Don Porter

unread,
Jun 19, 2013, 2:36:01 PM6/19/13
to
NO NO NO! The -exact option is to be gotten rid of, not spread further!

kve...@google.com

unread,
Jun 19, 2013, 10:32:33 PM6/19/13
to
On Wednesday, June 19, 2013 11:36:01 AM UTC-7, Don Porter wrote:
> On 06/19/2013 01:58 PM, keithv wrote:
> > On Tuesday, June 18, 2013 1:20:20 PM UTC-7, Don Porter wrote:
>
> >> On 06/18/2013 03:55 PM, kvetter
> >>> I just did a teacup update and now I cannot load Img--I'm getting versioning error: version conflict for package "zlibtcl": have 1.2.8, need exactly 1.2.7
>
> >>> This is on Ubuntu, version 8.6.0 for x86_64.
>
> >>> Drilling down, the problem is between pngtcl and zlibtcl. pngtcl first loads zlibtcl (1.2.8 is the latest) then loads libpngtcl1.4.12.so. But the library requires zlibtcl 1.2.7.
>
> >> Find out what is using the "-exact" option and stop it.
>
> > okay, pngtcl/pkgIndex.tcl needs the "-exact" option when it imports zlibtcl.
>
> NO NO NO! The -exact option is to be gotten rid of, not spread further!

okay, fix the code in libpngtcl1.4.12.so that require zlibtcl 1.2.7.

Andreas Kupries

unread,
Jul 10, 2013, 2:17:42 AM7/10/13
to
I will have a look.

In the mean time a

teacup install --force pngtcl

should solve the immediate issue. That will be a new build of pngtcl
which still has the -exact requirement, but pointing to zlibtcl 1.2.8,
and thus not in conflict.

As the version of pngtcl itself did not change it was not updated when
the other parts moved on.

Given that the issue is with a package from the AS teapot, why not
submitting a bug to our tracker at

http://bugs.activestate.com/

?

--
So long,
Andreas Kupries <akup...@shaw.ca>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>

Tcl'2013, Sep 23-27, New Orleans, LA, USA. http://www.tcl.tk/community/tcl2013/
-------------------------------------------------------------------------------
0 new messages