Things That Won't Run in -Current (21 April 2015).
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
$ cat t.c
#include <stdint.h>
int main()
{
int64_t x = 0, y = 1;
y = __sync_val_compare_and_swap(&x, x, y);
return 0;
}
$ gcc t.c
Which in my case creates an a.out binary instead of complaining about
Code:
t.c:(.text+0x64): undefined reference to `__sync_val_compare_and_swap_8'
Edit:
Also in 32-bit mode no issues:
Code:
$ linux32
$ uname -a
Linux virtslack64-curr 3.18.11 #1 SMP Tue Apr 7 13:03:03 CDT 2015 i686 QEMU Virtual CPU version 1.2.0 AuthenticAMD GNU/Linux
$ gcc --version
gcc (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ gcc -m32 t.c
$ file a.out
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, not stripped
Out of curiosity, does your 32/glxgears provide the same output as mine and lanir's with the LIBGL_DEBUG environment variable set to "verbose"?
Since I don't have time, I'm really just guessing here but perhaps it has to do with the way mesa was built (e.g. against the old gcc)?
Still getting this when compiling some programs: /bin/grep: /usr/lib64/libpng14.la: No such file or directory e.t.c. Any idea how to fix this except symlink?
Last edited by Bindestreck; 04-25-2015 at 06:30 PM.
Still getting this when compiling some programs: /bin/grep: /usr/lib64/libpng14.la: No such file or directory e.t.c. Any idea how to fix this except symlink?
The way I got around it was to first back up all the .la files in case they needed to be restored for some reason. Then this:
sed -i "s,/usr/lib64/libpng14.la,\-lpng,g" /usr/lib64/*.la
The better way is to recompile (in some magic order) every library shipping an .la file containing /usr/lib64/libpng14.la, but that could be close to impossible.
The way I got around it was to first back up all the .la files in case they needed to be restored for some reason. Then this:
sed -i "s,/usr/lib64/libpng14.la,\-lpng,g" /usr/lib64/*.la
The better way is to recompile (in some magic order) every library shipping an .la file containing /usr/lib64/libpng14.la, but that could be close to impossible.
As I reported here, at far as claws-mail is concerned, creating a "libpng14.la" symlink pointing out to "libpng16.la" solved the compilation issue. Perhaps that might be a quick and dirty workaround for some cases.
Still getting this when compiling some programs: /bin/grep: /usr/lib64/libpng14.la: No such file or directory e.t.c. Any idea how to fix this except symlink?
get libpng.SlackBuild from 14.1 and modify its mkpkg line to different name, or add 1.6.16 build into it. Slackware-current has got rid of these old libaries.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152
Original Poster
Rep:
Quote:
Originally Posted by schmatzler
@cwizardone:
This is probably caused by multilib - cc is linked against a missing library. See this.
Well, not sure at this point.
I re-formatted the partition and did another fresh installation using yesterday's ISO. I didn't install any multilib packages this time and left it "pure" 64-bit. When I went to install the NVidia driver it issued the same error, that is, the CC version checked failed.
By that time Alien Bob's latest gcc-multilib packages were available so I installed them, re-booted and tried again. No joy, it issued the same error as before.
When I chose to ignore the CC version check it came back with an error that it was, "Unable to determine the version of the kernel sources located in '/lib/modules/3.8.11/source' and so on.
I've had enough for one day.
Time to take a break.
As I reported here, at far as claws-mail is concerned, creating a "libpng14.la" symlink pointing out to "libpng16.la" solved the compilation issue. Perhaps that might be a quick and dirty workaround for some cases.
Pat's method should work better as it changed all .la files and all you need is to recompile everything that are still linked to old libpng
ImageMagick does not work for me, all I get is "Illegal instruction". i686 Slackware-current (Pentium-M). I've found some SSE3 instructions in the regarding function.
Last edited by eldercitizen; 04-27-2015 at 10:11 AM.
Reason: update my findings
Maybe there is already another tool to do the job but i've made, some months ago, an script to detect with ldd and objdump missing packages (or packages that need to be rebuilded) in my Slackware64 -current system:
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152
Original Poster
Rep:
Well, I've been up since zero-dark-thirty and at this point have made 4 "fresh" installations from 3 different ICOs.
On the 4th try, using yesterday's ICO, I was able to install the NVidia driver, both when running "pure" 64-bit and after installing the Multilib files.
The latest version of MPlayer now works, which, in turn, means SMPlayer works, of course.
usbimg2disk.sh places the EFI directory under /syslinux. This creates a USB stick that will not boot on some UEFI systems and does not comply with the UEFI specifications section 3.5.1.1. This states that
Quote:
the system firmware will attempt to boot from a removable media FilePathList[0] by adding a default file name in the form \EFI\BOOT\BOOT{machine type short-name}.EFI
Moving the EFI directory to / and editing /EFI/BOOT/elilo.conf to add the /syslinux path to the kernel and initrd on the created USB stick results in a bootable USB stick :
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152
Original Poster
Rep:
There are 3 DVD drives in my most recent setup and until last week updates they all worked reliably.
Now sometimes they work and sometimes they don't, i.e., when a disk is inserted sometimes it is seen and sometimes not.
Sometimes KDE sees the disk and only offers to copy it with K3b, but the disk cannot be opened with a file manager.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.