Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avrdude has broken dependency to libtinfo.so.5 from ncurses-5 #5783

Closed
gagara opened this issue Dec 30, 2016 · 5 comments
Closed

avrdude has broken dependency to libtinfo.so.5 from ncurses-5 #5783

gagara opened this issue Dec 30, 2016 · 5 comments
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Uploading Uploading programs to an Arduino board OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug

Comments

@gagara
Copy link

gagara commented Dec 30, 2016

avrdude from Arduino-1.8.0 has broken dependency to libtinfo.so.5.

$ ldd avrdude 
	linux-vdso.so.1 (0x00007ffc2507f000)
	librt.so.1 => /lib64/librt.so.1 (0x00007fcb13f1c000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcb13d00000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fcb13a04000)
	libtinfo.so.5 => not found
	libc.so.6 => /lib64/libc.so.6 (0x00007fcb1366b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fcb14124000)
@matthijskooijman
Copy link
Collaborator

I believe that dependency should be supplied by the system, just like all of the other dependencies that are fulfilled. On Debian systems this file is present in the libtinfo5 package.

@gagara
Copy link
Author

gagara commented Dec 31, 2016

On gentoo I currently have ncurses-6.x installed and avrdude-6.3 (installed from portage) currently linked to it w/o any problem (i.e. libtinfo.so.6).
I'm not sure, but if you are distributing precompiled binaries shouldn't you use static linking in this case (to be sure that they are not depend on system env)?

@julgonmej
Copy link

libtinfo.so.5 is not on Archlinux repos. If arduino needs to use its own avrdude version it should include the correct libraries too.

@NicoHood
Copy link
Contributor

@theloko ArchLinux uses its own avrdude from the upstream sources. Please read the wiki carefully can install arduino-avr-core.

@gagara I think the issue was already in previous versions. You are however right that the libs should be packed static for the binary release of arduino.

@facchinm
Copy link
Member

facchinm commented Jan 2, 2017

The problem has reappeared after moving the jenkins slave from Ubuntu 12.04 to Debian 7 in order to fix #5430.
Distros packaging libtinfo6 are usually shipping a compat library to avoid these kind of problems (search for ncurses5-compat or similar).
Moving the issue to arduino/avrdude-build-script#4

@facchinm facchinm closed this as completed Jan 2, 2017
@per1234 per1234 added Type: Bug OS: Linux Specific to the Linux version of the Arduino IDE Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug Component: Uploading Uploading programs to an Arduino board Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) labels Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Uploading Uploading programs to an Arduino board OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug
Projects
None yet
Development

No branches or pull requests

6 participants