LinuxQuestions.org
Register a domain and help support LQ
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 12-30-2013, 10:25 AM   #1
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Rep: Reputation: 77
KeePass


Hi, I am finally setting up Slackware as my main desktop but there is one thing I can't get it working: keepass. This is what I get when trying to run it:
keepass output:
Code:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/lib/libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0 
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/lib/libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0 
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
I am using Slackware 14.1 x86_64
 
Old 12-30-2013, 11:27 AM   #2
dwblas
Member
 
Registered: Jun 2011
Posts: 52

Rep: Reputation: Disabled
Just use the slackbuild at slackbuilds.org or sbopkg. It installs fine.

Last edited by dwblas; 12-30-2013 at 11:29 AM.
 
Old 12-30-2013, 11:40 AM   #3
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,218

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by dwblas View Post
Just use the slackbuild at slackbuilds.org or sbopkg. It installs fine.
+1.
 
Old 12-30-2013, 03:07 PM   #4
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,572

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
The SlackBuild is for KeepassX, not Keepass. KeepassX works great (I used it for a year or three), but it's not file-format-compatible with the current versions of Keepass. Make sure that isn't a problem.
 
Old 12-30-2013, 03:10 PM   #5
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by dugan View Post
The SlackBuild is for KeepassX, not Keepass. KeepassX works great (I used it for a year or three), but it's not file-format-compatible with the current versions of Keepass. Make sure that isn't a problem.
Well, that is sort of a problem. And there is a Keepass slackbuild http://slackbuilds.org/repository/14.1/misc/KeePass/
 
Old 12-30-2013, 03:38 PM   #6
55020
Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 321
Blog Entries: 4

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by moisespedro View Post
System.DllNotFoundException: /usr/lib/libgdiplus.so
There's your problem. libgdiplus not installed (dependency of mono).
 
Old 12-30-2013, 05:02 PM   #7
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by 55020 View Post
There's your problem. libgdiplus not installed (dependency of mono).
But I've installed it
 
Old 12-30-2013, 05:12 PM   #8
55020
Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 321
Blog Entries: 4

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by moisespedro View Post
But I've installed it
You think that you've installed it, but mono doesn't think you've installed it. Please reflect for a moment: who is more likely to have made a mistake, you or mono? Perhaps you'd better check again...
 
Old 12-30-2013, 06:10 PM   #9
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by 55020 View Post
You think that you've installed it, but mono doesn't think you've installed it. Please reflect for a moment: who is more likely to have made a mistake, you or mono? Perhaps you'd better check again...
I don't make mistakes, sir.
 
Old 12-30-2013, 06:25 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
Quote:
Originally Posted by moisespedro View Post
I don't make mistakes, sir.
OK, let's assume you are right.

Please return the output of the following commands:

Code:
uname -a
cat /etc/slackware-version
ls -l /var/log/packages/glibc-*
ls -l /var/log/packages/libgdiplus-*
Eric
 
Old 12-30-2013, 08:03 PM   #11
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Original Poster
Rep: Reputation: 77
Code:
Linux slack 3.10.17 #1 SMP Wed Oct 23 16:28:33 CDT 2013 x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux
Code:
Slackware 14.1
Code:
-rw-r--r-- 1 root root 571847 Dez 30 15:00 /var/log/packages/glibc-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root 473870 Dez 30 15:00 /var/log/packages/glibc-i18n-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root   1303 Dez 30 15:00 /var/log/packages/glibc-profile-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root  15532 Dez 30 15:00 /var/log/packages/glibc-solibs-2.17_multilib-x86_64-7alien
-rw-r--r-- 1 root root  70234 Dez 30 15:00 /var/log/packages/glibc-zoneinfo-2013d_multilib-noarch-7alien
Code:
-rw-r--r-- 1 root root 1050 Dez 30 05:04 /var/log/packages/libgdiplus-2.10.9-x86_64-2_SBo
EDIT: And I was being ironic, I am kind of a super noob
 
Old 12-31-2013, 04:39 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
So you are on a multilib 64-bit Slackware 14.1 as I expected. You do have the 64-bit libgdiplus installed, but "/usr/lib/libgdiplus.so" is a 32-bit library. It will be found in the 32-bit package of libgdiplus.
For your multilib system you will have to compile a 32-bit package and use the "convertpkg-compat32" script to create a "compat32" version of that 32-bit package and install that on your multilib system.
Code:
source /etc/profile.d/32dev.sh
ARCH=i486 libgdiplus.SLackBuild
convertpkg-compat32 -i /tmp/libgdiplus-2.10.9-i486-2_SBo.tgz
upgradepkg --install-new /tmp/libgdiplus-compat32-2.10.9-x86_64-2_SBo.txz
Note: The word "source" in the first command line is an equivalent for using the dot '.' in other examples). And set ARCH to i486, not x86_64, as I show in the second line. I need to update my multilib documentation which still recommends "ARCH=x86_64" which used to be necessary in older Slackware releases.

Eric
 
Old 12-31-2013, 10:04 AM   #13
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Original Poster
Rep: Reputation: 77
Thanks for the explanation but it still didn't work
Code:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/lib/libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0 
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/lib/libgdiplus.so
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0 
  at KeePass.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
 
Old 12-31-2013, 10:31 AM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,194

Rep: Reputation: Disabled
So, is that linrary actually there or not? Can you show us what these commands return?
Code:
ls -l /usr/lib/libgdiplus*
ls -l /var/log/packages/libgdiplus-*
And if the first command returns nothing, what is the output of:
Code:
cat /var/log/packages/libgdiplus*
Eric
 
Old 12-31-2013, 10:50 AM   #15
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 749

Original Poster
Rep: Reputation: 77
Code:
-rwxr-xr-x 1 root root   1688 Dez 31 14:01 /usr/lib/libgdiplus.la
lrwxrwxrwx 1 root root     19 Dez 31 14:02 /usr/lib/libgdiplus.so -> libgdiplus.so.0.0.0
lrwxrwxrwx 1 root root     19 Dez 31 14:02 /usr/lib/libgdiplus.so.0 -> libgdiplus.so.0.0.0
-rwxr-xr-x 1 root root 429728 Dez 31 14:01 /usr/lib/libgdiplus.so.0.0.0
Code:
-rw-r--r-- 1 root root 1050 Dez 30 05:04 /var/log/packages/libgdiplus-2.10.9-x86_64-2_SBo
-rw-r--r-- 1 root root  983 Dez 31 14:02 /var/log/packages/libgdiplus-compat32-2.10.9-x86_64-2_SBocompat32
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Keepass and Keefox NotAComputerGuy Linux - Software 9 09-09-2013 03:15 AM
LXer: Setting Up KeePass For Centos 6 LXer Syndicated Linux News 0 08-02-2013 07:12 PM
KeePass plugins directory ? sl13 Slackware 0 06-14-2011 03:56 PM
keepass.rmp angelus_kit *BSD 1 12-20-2006 11:39 AM
Keepass for Linux fibster Slackware 1 03-18-2006 05:29 PM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration