LinuxQuestions.org
Review your favorite Linux distribution.
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


Closed Thread
  Search this Thread
Old 02-28-2016, 11:27 AM   #436
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018

Quote:
Originally Posted by dugan View Post
I can see the difference between adding libstdc+++ to aaa_elflibs and adding glew to aaa_elflibs. Can't you? If an extra glew symlink is needed or desired, then that symlink belongs in the glew package itself.
I don't see how the symlinks would help in any case. AIUI, it's the SONAME in the library that is the problem. The symlinks only affect the build time linker, and at runtime ld.so only cares about loading a library with a matchimg SONAME to that used by the linker at build time: it could find it in libbananasyrup.so for all it cares.

As for whether old obsolete versions of libraries should be included in aaa_elflibs or their corresponding package, I guess that depends on what the purpose of aaa_elflibs is? Is it to provide obsolete libraries, or to be a mechanism for making sure that vital system libraries aren't removed. At the moment, it seems to be performing both roles, and I'm not sure that is the cleanest approach.

In this particular situation though? What is Pat expected to do? If he adds 1.10, what about 1.11, or 1.12? Is he supposed to keep adding more and more of these old library versions to aaa_elflibs as new ones are released just on the off-chance that someone wants to run a 3rd party pre-compiled binary that was built against one of them?

The underlying problem here is that the libGLEW devs aren't maintaining a stable ABI.

Last edited by GazL; 02-28-2016 at 11:32 AM.
 
2 members found this post helpful.
Old 02-28-2016, 11:40 AM   #437
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
The underlying problem is that the games are proprietary meaning users can not recompile or patch them, unfortunately fixing that for even one game is a lot of work and then you will still find games where the dev's are willing to change the license, but unable due to other licenses they must obey (Like if they used a proprietary compiler)...

As far as Slackware is concerned, I think the best two choices are to provide the missing old libraries as they are reported in a package such as aaa_elflibs or to ignore the issue and let users solve it for themselves.

Last edited by orbea; 02-28-2016 at 11:41 AM.
 
Old 02-28-2016, 11:52 AM   #438
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Oh, I see. I've misunderstood.

In that case, I'd just build glew 1.10 with ./configure and make, then copy the resulting .so file into the game directory, then make sure the game's launcher sets the LD_PATH so that it loads libraries from the game directory. I had to do something like that (different library, and they've since fixed it) to get the last version of Grid Cartographer to run.

I am a typical Slackware user, aren't I? :P

Robby is correct that this is a bug in the game. The developers need to start bundling that library with the game.

If I wanted it system-wide (and I don't see why I would), I'd build a "glew110" package. But I consider this a game-specific issue and I'd prefer a game-specific fix.

Last edited by dugan; 02-28-2016 at 12:33 PM.
 
Old 02-28-2016, 11:52 AM   #439
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
My understanding was that startx doesn't specify it because it is now a Xserver default behaviour and doesn't need specifying.
Allowing everyone to connect to your X is not good. "-nolisten tcp" should be used by default.
 
Old 02-28-2016, 12:04 PM   #440
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 441

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by Jefferson View Post
Allowing everyone to connect to your X is not good. "-nolisten tcp" should be used by default.
A way to disable listening to TCP without changing startx is to use xserverrc. If a xserverrc file exists, startx will honor it. So you can create an executable file named /etc/X11/xinit/xserverrc and put any option you want there. For example, mine has the following

Code:
exec /usr/bin/X -nolisten tcp "$@"
 
Old 02-28-2016, 12:17 PM   #441
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Quote:
Originally Posted by Jefferson View Post
Allowing everyone to connect to your X is not good. "-nolisten tcp" should be used by default.
It *is* used by default, which is why you don't need to explicitly specify it any more.
 
1 members found this post helpful.
Old 02-28-2016, 12:25 PM   #442
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

I'm on -current:
Code:
$ nmap localhost -p6000

Starting Nmap 7.01 ( https://nmap.org ) at 2016-02-28 19:24 CET
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000053s latency).
PORT     STATE  SERVICE
6000/tcp closed X11

Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds

$ nc localhost 6000
localhost [127.0.0.1] 6000 (x11) : Connection refused
--
Best regards,
Andrzej Telszewski
 
Old 02-28-2016, 12:39 PM   #443
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
It *is* used by default, which is why you don't need to explicitly specify it any more.
One of the updates removed this option and X began to listen on port 6000. I had to manually add this option to startx.
Thanks everyone for checking this out.
 
Old 02-28-2016, 01:48 PM   #444
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
can upgrade again the xf86-driver-intel ?

im experiencing some video freezes and in dmesg some error arround intel drm...im not sure if is a intel-driver problem , or mplayer.


libdrm-2.4.67
https://dri.freedesktop.org/libdrm/libdrm-2.4.67.tar.gz


My problem is exactly described here
[drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A
https://bugs.freedesktop.org/show_bug.cgi?id=91579

Last edited by USUARIONUEVO; 02-28-2016 at 03:47 PM.
 
Old 02-28-2016, 05:48 PM   #445
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Quote:
Allowing everyone to connect to your X is not good. "-nolisten tcp" should be used by default.
Our BDFL has always agreed with disallowing XDMCP connections by default.
Quote:
One of the updates removed this option and X began to listen on port 6000. I had to manually add this option to startx.
Thanks everyone for checking this out.
I would like to point out that Slackware is shipped with these defaults:
1. /etc/kde/kdm/kdmrc
Code:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=false
2. /etc/X11/xdm/xdm-config
Code:
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
DisplayManager.requestPort:     0
Port 6000 shows as open, but connections cannot be made. Feel free to add an additional layer of protection if you want. http://docs.slackware.com/howtos:sec..._-nolisten_tcp
 
2 members found this post helpful.
Old 02-29-2016, 09:56 AM   #446
Jefferson
Member
 
Registered: Jul 2012
Distribution: Slackware-current, 32bit
Posts: 84

Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
Our BDFL has always agreed with disallowing XDMCP connections by default.

I would like to point out that Slackware is shipped with these defaults:
1. /etc/kde/kdm/kdmrc
Code:
[Xdmcp]
# Whether KDM should listen to incoming XDMCP requests.
# Default is true
Enable=false
2. /etc/X11/xdm/xdm-config
Code:
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
DisplayManager.requestPort:     0
Port 6000 shows as open, but connections cannot be made. Feel free to add an additional layer of protection if you want. http://docs.slackware.com/howtos:sec..._-nolisten_tcp
Ok, got it. Thank you for the thorough explanation.
I was freaked out, when saw that netstat's output. I have iptables rules applied, but more security is better.
 
Old 02-29-2016, 05:19 PM   #448
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
polkit-0.113
https://www.freedesktop.org/software...t-0.113.tar.gz

sysstat-11.3.1
http://pagesperso-orange.fr/sebastie...-11.3.1.tar.xz

v4l-utils-1.10.0
http://linuxtv.org/downloads/v4l-uti...1.10.0.tar.bz2

wavpack-4.75.2
http://www.wavpack.com/wavpack-4.75.2.tar.bz2


Mplayer-1.3.0 compiled with ffmpeg-3.0
http://www.mplayerhq.hu/MPlayer/rele...r-1.3.0.tar.xz
http://ffmpeg.org/releases/ffmpeg-3.0.tar.bz2

Last edited by USUARIONUEVO; 02-29-2016 at 09:31 PM.
 
Old 03-01-2016, 12:02 AM   #449
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,205

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
new upower-0.99.4.tar.xz (bugfix en enhancement)

https://upower.freedesktop.org/relea...-0.99.4.tar.xz

maybe ad this patch

https://bugs.freedesktop.org/show_bug.cgi?id=94262

https://cgit.freedesktop.org/upower/...id=28cee8e2845

Last edited by gmgf; 03-01-2016 at 12:06 AM.
 
Old 03-01-2016, 02:44 AM   #450
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by gmgf View Post
new upower-0.99.4.tar.xz (bugfix en enhancement)
If I recall correctly, upower-0.99 doesn't work with pm-utils anymore, due to use of syst**d thing. We might (hopefuly) be sticking with 0.9.x

Last edited by Tonus; 03-01-2016 at 03:10 AM.
 
  


Closed Thread



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
[SOLVED] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

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

All times are GMT -5. The time now is 04:53 PM.

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