Package Details: lib32-tk 8.6.9-1

Git Clone URL: https://aur.archlinux.org/lib32-tk.git (read-only, click to copy)
Package Base: lib32-tk
Description: A windowing toolkit for use with tcl
Upstream URL: http://tcl.sourceforge.net/
Licenses: custom
Submitter: yuyichao
Maintainer: dude
Last Packager: GordonGR
Votes: 30
Popularity: 0.000000
First Submitted: 2014-10-23 18:04 (UTC)
Last Updated: 2018-11-18 14:51 (UTC)

Latest Comments

caffeine93 commented on 2022-02-20 17:17 (UTC) (edited on 2022-02-20 17:20 (UTC) by caffeine93)

for everyone having the problem with missing 'libtclstub8.6.a', the issue is that the linker is looking for ELF32 file, while your file in /usr/lib/libtclstub8.6.a is a ELF64. So, what you have to do is download tcl source and crosscompile it for (i686) 32bit:

  1. Get the (desired version) tlc source from: https://sourceforge.net/projects/tcl/files/Tcl/

  2. Untar the source and go to unix/ subdir, from there run autoconf command for 32bit target build: ./configure --build=i686-pc-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32

  3. Start the compilation with: make

  4. Once done, you will see 'libtclstub8.6.a' inside the directory, you can verify that it's indeed ELF32 using the command (check ELF header class): readelf -a -W libtclstub8.6.a | less

  5. Copy the 'libtclstub8.6.a' to /usr/lib32/

You can now re-run makepkg inside your lib32-tk dir and it will compile and link without an issue

fpfrimer commented on 2022-02-09 14:18 (UTC) (edited on 2022-02-09 14:19 (UTC) by fpfrimer)

Hi! I'm having following error when I try to build lib32-tk 8.6.9-1 (translated from brazilian portuguese):

/usr/bin/ld: skipping /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../libtclstub8.6.a incompatible when searching for -ltclstub8.6
/usr/bin/ld: skipping /usr/lib/libtclstub8.6.a incompatible when searching for -ltclstub8.6
/usr/bin/ld: could not find -ltclstub8.6
collect2: error: ld returned 1 exit status
make: *** [Makefile:587: libtk8.6.so] Error 1
==> ERRO: A failure occurred in build().
    Abortando...
erro: falha ao compilar 'lib32-tk-8.6.9-1': 
erro: lib32-tk-8.6.9-1 packages failed to compile

I rebuided all dependencies and have base-devel installed

GordonGR commented on 2019-01-12 15:11 (UTC)

It builds fine here. I recommend you rebuild all your dependencies and make sure you have the base-devel installed.

vidar commented on 2019-01-09 17:00 (UTC)

I'm having following error when I try to build lib32-tk 8.6.9-1:

gcc: error: 8.6": No such file or directory gcc: error: attribute((visibility("hidden"))): No such file or directory gcc: error: long: No such file or directory make: *** [Makefile:1161: tkStubLib.o] Error 1

Error occurs right after make has finished checking prerequisites and gcc starts building.

My system is up-to-date

aaronp commented on 2016-08-23 04:13 (UTC)

Grabbing the PKGBUILD from the abs and removing line 44 seems to work in the meantime. I'm sure it probably breaks something else and could probably make your computer catch on fire, so don't do that. But I can't stop you if you do. But don't do it.

GordonGR commented on 2016-08-22 17:01 (UTC)

I sent a bug report to the maintainer of multilib/lib32-tcl, asking him to retain the /usr/lib32/libtclstub8.6.a. That should fix the issue. So, we wait. https://bugs.archlinux.org/task/50484

Maverick commented on 2016-08-22 13:21 (UTC) (edited on 2016-08-22 13:56 (UTC) by Maverick)

Having the same problem here as prMoriarty (fresh arch installation, installing via yaourt).

GordonGR commented on 2016-08-21 12:49 (UTC)

It builds perfectly fine here, using /usr/lib/libtclstub8.6.a, and the result is 32bits as it should. I don't understand.

prMoriarty commented on 2016-08-20 20:07 (UTC)

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libtclstub8.6.a when searching for -ltclstub8.6 /usr/bin/ld: skipping incompatible /usr/lib/libtclstub8.6.a when searching for -ltclstub8.6 cannot find -ltclstub

GordonGR commented on 2016-05-22 16:17 (UTC)

Fixed. Thank you.

Tom_G commented on 2016-05-22 11:10 (UTC)

I had the same build problem as johnelros. It is caused by the LDFLAGS parameter and can be seen in the error line below. Adding a space before the -L fixed it for me. /usr/bin/ld: invalid hash style `gnu-L/usr/lib32' diff --git a/PKGBUILD b/PKGBUILD index d85e1c0..66d6289 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -19,7 +19,7 @@ cd tk${pkgver}/unix export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" -export LDFLAGS+='-L/usr/lib32' +export LDFLAGS+=' -L/usr/lib32' ./configure --prefix=/usr --mandir=/usr/share/man \ --enable-threads --disable-rpath \ --libdir=/usr/lib32 \

rafaelff commented on 2016-03-20 19:07 (UTC)

No problem at all, this things happens. Thanks for fixing it.

GordonGR commented on 2016-03-20 15:59 (UTC)

Hmm, I realise I omitted the lib32-tcl dependency, which does contain /usr/lib32/itcl4.0.4/itclConfig.sh and /usr/lib32/tclConfig.sh. I added it. Sorry, people. See what happens now; it should build!

rafaelff commented on 2016-03-17 18:24 (UTC)

The ./configure step fails with the following error message: checking for Tcl configuration... configure: error: /usr/lib32/ directory doesn't contain tclConfig.sh

GordonGR commented on 2016-03-13 15:49 (UTC)

migrev, thank you for informing me that the package is out of date. However, I am not going to update before [extra] does. In the meantime, I have removed the lib32-tcl=${pkgver} dependency.

GordonGR commented on 2016-03-07 11:15 (UTC)

Well, in this case I have no idea. Perhaps you could ask at the forums.

johnelros commented on 2016-03-06 18:26 (UTC)

All these packages are present in my system. tk was configured and built: $ ls ~/abs/tk/ pkg PKGBUILD src tk-8.6.4-1-x86_64.pkg.tar.xz tk8.6.4-src.tar.gz

GordonGR commented on 2016-03-06 14:57 (UTC)

Okay then, let's take it from the start: Do you miss any of following? (We'll find out why later.) lib32-libx11 lib32-glibc lib32-fontconfig lib32-libxrender lib32-expat lib32-libxcb lib32-libxext lib32-zlib lib32-libpng lib32-harfbuzz lib32-libxau lib32-libxdmcp lib32-glib2 lib32-pcre Also, please try to get extra/tk from ABS and build it, see if that builds properly.

johnelros commented on 2016-03-06 05:53 (UTC) (edited on 2016-03-06 06:23 (UTC) by johnelros)

Yes, I've got. And lib32-tcl was built successfully.

GordonGR commented on 2016-03-05 19:09 (UTC)

All good here. Have you got multilib/gcc-multilib installed (generally, the multilib-devel group)?

johnelros commented on 2016-03-05 18:01 (UTC) (edited on 2016-03-06 05:53 (UTC) by johnelros)

Unable to configure: checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. in config.log was: ... configure:2021: gcc -m32 -V </dev/null >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. ... /usr/bin/ld: invalid hash style `gnu-L/usr/lib32' collect2: error: ld returned 1 exit status configure:2053: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "tk" | #define PACKAGE_TARNAME "tk" | #define PACKAGE_VERSION "8.6" | #define PACKAGE_STRING "tk 8.6" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2092: error: C compiler cannot create executables ... Are there missing dependencies?

GordonGR commented on 2015-11-01 12:51 (UTC)

Cool.

markzz commented on 2015-11-01 02:22 (UTC)

I was using lib32-tcl from alucryd's multilib repository and it doesn't work when building this. Building the AUR's PKGBUILD of lib32-tcl and then building this one works fine.

GordonGR commented on 2015-10-31 12:30 (UTC)

If builds perfectly well here. Are you sure your lib32-tcl is up to date?

markzz commented on 2015-10-30 22:08 (UTC)

This package doesn't build. /usr/bin/ld: skipping incompatible /usr/lib64/libtclstub8.6.a when searching for -ltclstub8.6 /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../libtclstub8.6.a when searching for -ltclstub8.6 /usr/bin/ld: skipping incompatible /usr/lib/libtclstub8.6.a when searching for -ltclstub8.6 /usr/bin/ld: cannot find -ltclstub8.6

JonnyJD commented on 2015-06-30 09:08 (UTC)

export LDFLAGS+='-L/usr/lib32' must be export LDFLAGS+=' -L/usr/lib32' (note the additional space) Otherwise configure complains that no executable can be created when LDFLAGS is pre-set.