Compiling Gnucash 2.6.16 on Linux Mint 18.1

DaveC49 davidcousens at bigpond.com
Thu Mar 30 00:53:14 EDT 2017


Hi 
Has anyone else had any problems compiling Gnucash 2.6.16. I seem to get
through the ./configure and make and sudo make install with no obvious
problems. 

The executable is installed in /usr/local/bin with libraries in
/usr/local/lib/gnucash and configuration in /usr/local/etc/gnucash.( At
present I am not getting an icon in the menu but I can fix that later.
$ whereis gnucash
gnucash: /usr/local/bin/gnucash /usr/local/etc/gnucash
/usr/local/lib/gnucash

When I attempt to start gnucash (/usr/local/bin gnucash, I get a message
"/usr/local/bin/gnucash: error while loading shared libraries:
libgnc-gnome.so.0: cannot open shared object file: No such file or
directory".

This is a link to libgnc-gnome.so.0.0.0 and both the link and the linked
file are located in /usr/local/lib.  

This is the same as my 2.6.15 (also compiled from sources on LM18.1 Serena)
on a desktop and working fine. The permissions on the libgnc-gnome.so
related files are also the same on both machines.

Following an earlier post by John Ralls in response to a similar problem
with 2.6.15
(https://lists.gnucash.org/pipermail/gnucash-user/2015-September/061847.html) 
/etc/ld.so.conf.d/libc.conf loads /usr/local/lib and is called by
/etc/ld.so.conf.

I ran sudo ldconfig and gnucash 2.6.16 then started up and loaded a data
file gener ated from 2.6.15 with no apparent problems although GTK issued a
message "Gtk-Message: Failed to load module "atk-bridge". on startup. Not
sure what this means. I have Libatk1.0-0, Libatk1.0-dev, Libatk-bridge2.0-0, 
Libatk-bridge2.0-dev and Libatkmm1.6-1v5 ( but not the headers from the last
library) already loaded.

During the./configure stage I had to load quite a few other packages than
those mentioned in the dependencies some to do with getting gtk compiled and
installed (listed below).

Linux Mint 18.1 Serena  clean install from ISO
sudo apt install build-essentials
dependencies not present
1  glib       Software Manager installl Libglib2.0-0, Libglib2.0-dev    
version 2.48.2-ubuntu
2. guile      Software Manager install Guile-2.0-dev                    
version 2.0.11+1-10
3. libxml     Software Manager Libxml++2.6-2v5, Libxml++2.6-dev         
version 2.40.1-1
4. libxslt    Software Manager Libxslt1.1, Libxslt1-dev                 
version  1.1.28-2.1
5. xsltproc   Software Manager Xsltproc                                 
version 1.1.28-2.1
6. libdbi     Software manager Libdbi1, Libdbi-dev                      
version 0.9.0-4 
7. libdbdb    Software manager libdbd-mysql,libdbd-pgsql,libdbd-sqlite3 
version 0.9.0-3ubuntu2
8. libatk     Software Manager Libatk-1.0-dev                           
version 2.18.0-1         gtk+2 dependency
9. libpango   Software Manager Libpango-1.0-dev                         
version 1.38.1-1         gtk+2 dependency
10 libcairo  Software Manager  Libcairo2-dev                            
version 1.14.6-1          gtk+2 dependency
11 libgdk-pixbuf Software Manager Libgdk-pixbuf2.0-dev                  
version 2.32.2-1ubuntu1.2 gtk+2 dependency
12 gtk+2.0    download http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/
version 2.24.31  compiled from sources
13 libgnomecanvas-2.0 Software Manager Libgnomecanvas2-dev              
version 2.30.3-2
14 libgoffice Software Manager Libgoffice-0.8 -8 & dev                  
version 0.8.17-3
15 libwebkit  Software Manager Libwebkit-dev                            
version 2.4.11-0ubuntu0.1

Gnucash 2.6.16 appears to be working OK, I can view registers,open splits
etc but I am not too confident about using it for production activities at
this stage. no posts I have found re the atk-bridge not

Any suggestions would be welcome.
David Cousens



--
View this message in context: http://gnucash.1415818.n4.nabble.com/Compiling-Gnucash-2-6-16-on-Linux-Mint-18-1-tp4690688.html
Sent from the GnuCash - User mailing list archive at Nabble.com.


More information about the gnucash-user mailing list