homebrew-amiaos icon indicating copy to clipboard operation
homebrew-amiaos copied to clipboard

gtkdialog install error: "binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to ..."

Open pjotrek-b opened this issue 10 months ago • 3 comments

This error seems different than #355:

$ brew install gtkdialog throws the following error:

Last 15 lines from /home/arkthis/.cache/Homebrew/Logs/gtkdialog/02.make: /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_siglongjmp@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_pthread_init@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_allocate_rtsig_private@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_dlopen_mode@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_dlsym@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to __libc_longjmp@GLIBC_PRIVATE' /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to `__libc_current_sigrtmin_private@GLIBC_PRIVATE' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:483: gtkdialog] Error 1 make[3]: Leaving directory '/tmp/gtkdialog-20230830-161885-1p5yi0g/gtkdialog-0.8.4d/src' make[2]: *** [Makefile:402: all] Error 2 make[2]: Leaving directory '/tmp/gtkdialog-20230830-161885-1p5yi0g/gtkdialog-0.8.4d/src' make[1]: *** [Makefile:424: all-recursive] Error 1 make[1]: Leaving directory '/tmp/gtkdialog-20230830-161885-1p5yi0g/gtkdialog-0.8.4d' make: *** [Makefile:363: all] Error 2

This is on Xubuntu 20.04.6. btw: vrecord brew-installation has worked flawlessly on that OS/version in 2021-10.

pjotrek-b avatar Aug 30 '23 09:08 pjotrek-b

I can't reproduce on my versions of Ubuntu - I wonder if something is going wonky with the autogen.sh step. If you run the install in interactive mode (brew install -i gtkdialog) and then run ./autogen.sh in the build directory, does it throw any errors?

privatezero avatar Aug 30 '23 16:08 privatezero

@privatezero You were quicker. I can’t reproduce neither on Ubuntu 23.04, 22.04.3 LTS and 20.04.6 LTS.

retokromer avatar Aug 30 '23 16:08 retokromer

Interesting that you can't reproduce it. Good! Yet odd for me :wink: I'll revert my VM and try again then.

Thanks for checking!

pjotrek-b avatar Aug 30 '23 18:08 pjotrek-b