LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2015, 05:39 PM   #61
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled

Quote:
Originally Posted by Alien Bob View Post
That symbol is defined in the 64-bit libraries of multilib gcc 4.9.2 at least:

From https://www.mail-archive.com/gcc-bug...msg432409.html -

Code:
$ 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)?
 
Old 04-25-2015, 05:50 PM   #62
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I'm not using the latest -current here yet, because of the fact that I am running KDE 5 and first need to compile new packages fogr that.
 
1 members found this post helpful.
Old 04-25-2015, 06:26 PM   #63
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 822

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
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.
 
1 members found this post helpful.
Old 04-25-2015, 06:41 PM   #64
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,533

Rep: Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515Reputation: 8515
Quote:
Originally Posted by Bindestreck View Post
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.
 
7 members found this post helpful.
Old 04-25-2015, 06:46 PM   #65
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 894

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
Quote:
Originally Posted by volkerdi View Post
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.
 
Old 04-25-2015, 06:47 PM   #66
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by Bindestreck View Post
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.
 
Old 04-25-2015, 06:54 PM   #67
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152

Original Poster
Rep: Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323
Quote:
Originally Posted by schmatzler View Post
@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.
 
Old 04-25-2015, 07:49 PM   #68
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,679

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
Quote:
Originally Posted by sombragris View Post
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
 
3 members found this post helpful.
Old 04-25-2015, 10:56 PM   #69
eldercitizen
Member
 
Registered: Apr 2015
Distribution: Slackware64-current
Posts: 38

Rep: Reputation: 31
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
 
Old 04-26-2015, 12:44 AM   #70
hba
Member
 
Registered: May 2012
Location: Oaxaca, México
Distribution: Slackware Linux
Posts: 45

Rep: Reputation: 20
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:

https://gist.github.com/nihilismus/3888a82b6f83eda9a837

In the example, _hba is the TAG used for my packages using SBo's SlackBuilds.

- Cheers
 
4 members found this post helpful.
Old 04-26-2015, 01:21 AM   #71
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
That is really, really awesome, hba. I would've needed this in the past a thousand times.

Just running it on my system with over a hundred self-built packages now - let's see what it finds
 
Old 04-26-2015, 10:20 AM   #72
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152

Original Poster
Rep: Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323
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.

VLC still does not work and issues the same error as reported here,
https://www.linuxquestions.org/quest...46#post5353346

WINE still does not work.

Last edited by cwizardone; 04-26-2015 at 10:25 AM.
 
Old 04-26-2015, 02:47 PM   #73
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Rep: Reputation: 14
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 :
Code:
chooser=simple
message=message.txt
delay=300
timeout=300
#
image=/syslinux/huge.s
        label=huge.s
        initrd=/syslinux/initrd.img
        read-only
        append="vga=normal load_ramdisk=1 prompt_ramdisk=0 ro printk.time=0 nomodeset SLACK_KERNEL=huge.s"
image=/syslinux/huge.s
        label=kms.s
        initrd=/syslinux/initrd.img
        read-only
        append="vga=normal load_ramdisk=1 prompt_ramdisk=0 ro printk.time=0 SLACK_KERNEL=huge.s
 
1 members found this post helpful.
Old 04-27-2015, 10:29 AM   #74
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152

Original Poster
Rep: Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323
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.
 
Old 04-27-2015, 11:05 AM   #75
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152

Original Poster
Rep: Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323
Since the updates it is not possible to download new widgets, desktop decorations, etc., in KDE. It returns the error,

Quote:
Unknown open collaboration Service API error (0)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Three Things That Won't Get You An IT Job – And Two Things That Will sundialsvcs General 20 08-13-2014 02:55 PM
Recent Changes in Current (or things that go bump in the night). cwizardone Slackware 13 03-02-2013 08:30 AM
VirtualBox won't run after upgrade to slackware64 current Ook Slackware 9 06-18-2011 07:13 AM
[SOLVED] kernel upgrade -current messed up things portia Slackware 28 01-26-2010 05:48 PM
Things that run in framebuffer!!! Optyx Linux - General 1 08-01-2007 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration