On Tue, 14 Feb 2017 10:44:52 -0800 Marc MERLIN <marc_...@merlins.org> said:

> On Tue, Feb 14, 2017 at 10:05:16AM -0500, Ross Vandegrift wrote:
> > On Sun, Feb 12, 2017 at 09:18:24AM -0800, Marc MERLIN wrote:
> > > On Sun, Feb 12, 2017 at 11:47:52AM -0500, Ross Vandegrift wrote:
> > > > Do you have old installations of EFL lying around?  This sounds like a
> > > > conflicting version of some library is being used.
> > >  
> > > I did have one, but think I had removed it.
> > > ii  efl                        1.10.2.b-1         amd64              efl
> > > I guess I can try again, but aren't library versions supposed to prevent
> > > the wrong library with the wrong symbols from being used should 2
> > > versions be installed at the same time?
> > 
> > Yes, but since all of the EFL releases have soname 1, they're
> > indistinguishable to the linker.  Raster's advice is always to remove
> > stray installations when mysterious crashes happen, and he's almost
> > always been right.
>  
> Mmmh, that's bad news. The whole point of sonames is to avoid all these
> problems and let the computer find them for you :(

yes... but invariably the "operator" of said machine has no clue :) (not saying
you do not marc :)). they install libA.so.1.3.4 in /opt/lib, 1.5.4
in /usr/local/lib and there's 1.2.1 in /usr/lib.

which gets used? QUICK! 99%+ of users can't tell. it may be LD_LIBRARY_PATH
(which the dont even know exists) setting it.. it could be /etc/ld.so.conf or
content of /etc/ld.so.conf.d/* ... because ALL of these are the same MAJOR so
version (so.1) and the symlinks are what cound here. the frist level with
major .so version.

ALL libs do this,. they are BACKWARDS compatible, but not FORWARDS. that measn
1.5.4 is compatible with apps built against 1.5.3, 1.5,3, 1.4.4, 1.4.0, 1.3,
1.2, 1.1 and 1.0 ... so you can UPGRADE your lib... without fear.but
downgrading you cannot.

if you now spread these versions across directories then which of the libA.so.1
symlinks will be used? yes. a skilled person who knows their system well can do
it.

but the GENERAL advice is "don't do this".

now it's even more fun if you have multiple HEADERS installed like
in /usr/local/include, /usr/include, /opt/include etc... and when a binary
builds it uses headers in dir A (eg a newer version) but at RUNTIME links
against an older binary and so on... or more.

just in general - keep things simple and in one place and these issues do not
happen. spread your stuff around different locations and "your problem
buddy." :)

this is not just efl. its gtk, glib, libjpeg, libpng, pretty much every shared
lib will do what efl does. be backwards compatible to binaries linked to older
versions...

> It's a bit like saying "oh, you tried to upgrade, yeah, that's kind of
> risky, it's always better to wipe and re-install from scratch".
> Not blaming you for the message, clearly it's the correct state of
> affairs, just complaining that it shouldn't be :)

upgrading works just fine. i do it many many many times a day. rebuild efl
with newer stuff on a system with existing efl... but i do it in the SAME place
every time (excetp some exceptions where i carefully carve out a test area
like /opt/e or /opt/efl or /opt/efl17 etc.) and set things up to test there...

it works. but dont go havnig it installed in multiple prefixes and have them
all available at all times and not know EXACTLY what you are doing... :)

i know YOU can do this though...

> > > If you install and load the .Xmodmap attached, does enlightenment work
> > > ok for you?
> > > Can you type right alt e and get é, and then things work ok afterwards?
> > > ( xmodmap ~/.Xmodmap )
> > 
> > Worked for me - I don't understand how mode switch works, so I couldn't
> > type i or e anymore, but that's probably my ignorance.  E didn't mind at
> > all, or even seem to notice.
> 
> So, you can type e, then you type right alt + e, and get é, and when you
> release right alt, do you get e again?

i never have used this... i just use compose sequences.

milti_key + e + ' = é :) awesome thing is it works for just about everything.
milti + o + " = ö, multi + t + m = ™, multi + ( + c = © ...

it saves having weird kbd setups... :)

> If you get é forever after typing right alt once (which indeed is what I
> saw), that's a showstopper bug that will stop me from upgrading.
> If you were stuck with typing é even though you weren't touching the alt
> key anymore, how did you recover?
> 
> > > Good guess, I do have a trackpoint (thinkpad)
> > > I am not going to tell you how stupid it is to change this suddenly since
> > > it's not E's fault, but this is ridiculous :( 
> > > (because you know, no one uses the middle button on linux)
> > 
> > I agree, it's a frustrating default for unix-like WM + trackpoint users.
> > libinput expects the desktop env to give the user config control for the
> > input devices.  In Gnome, you'd change the config for your trackpoint
> > once and be done with it.  E lacks that piece, so you gotta do it
> > yourself.
> 
> Understood, thanks for that piece of info, I'd likely have had a hard
> time finding it without your help.
> 
> Thanks,
> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> Microsoft is to operating systems ....
>                                       .... what McDonalds is to gourmet
> cooking Home page: http://marc.merlins.org/                         | PGP
> 1024R/763BE901
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to