LinuxQuestions.org
Visit Jeremy's Blog.
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 03-27-2020, 11:07 AM   #1
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297
Blog Entries: 2

Rep: Reputation: 37
Question Installing Insync on Slackware


I'm having trouble installing Insync on Slackware.

The Slackbuilds script contains an error - it requires a higher level of glibc then Slackware ships with (or something like that). We are working on that on the Slackbuilds mailing list, but I have a pretty critical need here, so I am looking for a workaround.

I tried using deb2tgz to convert a deb (I did my best to determine and use a package from the Debian version that shipped with glibc-2.23 (jessie), as Slackware does), and although the installation seems to work, insync does not run:

Code:
$ insync
Traceback (most recent call last):
  File "insync.py", line 9, in <module>
  File "/usr/local/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "idesklinux/platui_impl.py", line 14, in <module>
  File "/usr/local/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 627, in exec_module
  File "idesklinux/htmlui_impl.py", line 6, in <module>
ImportError: /usr/lib64/libEGL.so.1: undefined symbol: drmGetRenderDeviceNameFromFd
[3778] Failed to execute script insync
Does anyone have any thoughts about this error? (or alternatives for getting Insync installed?)
 
Old 03-27-2020, 11:30 AM   #2
Patrick59
Member
 
Registered: Apr 2007
Location: North France
Distribution: Slackware64 15.0
Posts: 74

Rep: Reputation: 19
Hi,

Python is in /usr/lib64 in Slackware (i'm using slackware64 14.2) even python3.
You should create a symbolic link to fix the problem.

Cheers,
 
1 members found this post helpful.
Old 03-27-2020, 01:49 PM   #3
Ian M
Member
 
Registered: Oct 2017
Location: UK
Distribution: Slackware 15
Posts: 39

Rep: Reputation: Disabled
The Linux Mint 18.x package from here https://www.insynchq.com/downloads seems to work on 14.2, I downloaded it and then installed it using the 14.2 slackbuild from SBO, just changing the VERSION and DEBNAM variables. I haven't tested it but it opens without any errors.

Last edited by Ian M; 03-27-2020 at 01:54 PM.
 
1 members found this post helpful.
Old 03-27-2020, 03:03 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Do you have a self-compiled version of python3.7? If you install the one from SBo, it is installed to /usr/lib64/, not /usr/local/lib/

I'm not sure if that's related to your problem or not, but it could be related.

Also, have you tried a previous version of insync? You can view older versions on SBo's git repo.
 
1 members found this post helpful.
Old 03-27-2020, 03:29 PM   #5
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by Patrick59 View Post
Hi,

Python is in /usr/lib64 in Slackware (i'm using slackware64 14.2) even python3.
You should create a symbolic link to fix the problem.

Cheers,
All great comments! Ok, so I've already got python3.7 via Slackbuilds installed, so I just went to create the link:

Code:
# ln -s /usr/lib64/python3.7 /usr/local/lib/python3.7
That seems to have worked in the way that I understand it:

Code:
/usr/local/lib# ls python3.* 
python3.7@
(what's the @ sign mean?)

But insync still fails, with the same message. Turns out whatever "PyInstaller" is doesn't exist:

Code:
$ ls /usr/local/lib/python3.7/site-packages/    
README.txt   demo             iobench             pkg_resources                stringbench
__pycache__  easy_install.py  msi                 pynche                       test2to3
buildbot     freeze           nuget               scripts                      tz
c-globals    gdb              parser              setuptools                   unicode
ccbench      i18n             pip                 setuptools-40.6.2.dist-info  unittestgui
clinic       importbench      pip-18.1.dist-info  ssl
$ ls /usr/local/lib/python3.7/site-packages/Py*
ls: cannot access '/usr/local/lib/python3.7/site-packages/Py*': No such file or directory
Maybe some development version of Python is needed?
 
Old 03-27-2020, 03:30 PM   #6
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by bassmadrigal View Post

Also, have you tried a previous version of insync? You can view older versions on SBo's git repo.
Given the nightmare that updating from Insync 1.X was to 3.x, I would be extremely reluctant to run an older version at all, particularly just on one machine.
 
Old 03-27-2020, 03:39 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
PyInstaller is in SBo, but it will be installed in /usr, not /usr/local.

Last edited by Didier Spaier; 03-27-2020 at 04:01 PM.
 
Old 03-27-2020, 03:43 PM   #8
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by Ian M View Post
The Linux Mint 18.x package from here https://www.insynchq.com/downloads seems to work on 14.2, I downloaded it and then installed it using the 14.2 slackbuild from SBO, just changing the VERSION and DEBNAM variables. I haven't tested it but it opens without any errors.
Success!

I didn't think of just using the existing Insync script, doh!

Also, I cannot verify that it 100% works, but it does open so I'll take that as an answer. Thanks all!
 
Old 03-28-2020, 02:26 AM   #9
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by thethinker View Post
That seems to have worked in the way that I understand it:

Code:
/usr/local/lib# ls python3.* 
python3.7@
(what's the @ sign mean?)
1. I would create, in /usr/local/lib, a python3 -> python3.7 symlink too
2. The @ - in aliased versions of ls - means the filenames are appended with indicators
like the -F option does, @ in that case means: it's a symbolic link, not a normal file
 
  


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
Insync for Slackware jcamez Slackware 8 01-30-2013 03:01 AM
LXer: Insync: Google Drive Client For Linux (Beta 2 Released, DEB And RPM Packages Available For Dow LXer Syndicated Linux News 0 08-11-2012 12:01 AM
LXer: Access And Sync Google Drive Using InSync Under Ubuntu/Linux Mint LXer Syndicated Linux News 0 08-02-2012 11:21 PM
LXer: Insync solves Google Drive for the Linux Desktop LXer Syndicated Linux News 0 07-27-2012 09:50 PM
[SOLVED] [php] Php question concerning using href's and onclick insync. errigour Programming 3 04-01-2012 12:33 AM

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

All times are GMT -5. The time now is 12:29 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