dynamic-library error [probably user error :-)]

Derek Atkins warlord at MIT.EDU
Sat Jun 14 15:10:38 CDT 2003


Terence Kent <unix_newbie at earthlink.net> writes:

> Got farther!
> 
>  So the last post was just me being stupid (*Sorry!). The issue wasn't
> my version of libgtkhtml ( tried both ) It was that I was didn't read
> the error message! It was looking for libgtkhtml.so.20 and I didn't have
> a file by the name. I just symlinked libgtkhtml-2.so.0.0.0 to that file
> name and got right around it. 

Bzzt.  You cannot link like that.  The library number changed
because the ABI is different.  Also, libgtkhtml-2 is a Gnome2
library; gnucash is a gnome1.4 application..

You _MAY_ be able to get it to work with gtkhtml-1.1, but
most likely you need to re-install the Redhat-distributed
gtkhtml-1.0.4-3

>  Now gnucash starts to load but exits out with an error of:
> 
>   gnucash: [W] "failure loading "#f

Yep, not surprising....

>  when I did a strace gnucash I found that the error was with it opening
> a temporary file. Unfortunately that file name changes every time it is
> launched so I can't just make on in my /tmp/ directory for it to use. I
> noticed that it appears to make and then remove a ton of tmp files but
> exits right after it would have launched past the loading splash screen.
> (which looks very nice btw)
> 
> The trace ends with this error every time...
> 
>  write(1, "gnucash: [W] \"failure loading \"#"..., 34) = 34
> 
>  Sorry to keep bothering you, but your help is really appreciated!!!

Go back and fix the gtkhtml problem correctly...

>   Terry.

-derek

> 
> On Fri, 2003-06-13 at 11:15, Derek Atkins wrote:
> > Terence Kent <unix_newbie at earthlink.net> writes:
> > 
> > >  Derek,
> > > 
> > >    Sorry about forgetting to CC, I always do that...
> > > 
> > >  Anyway, I got all my rpms, minus openhbci (I got that from
> > > openhbci.sourceforge.net) from www.gnucash.org. Maybe I should have
> > > gotten them rpmfind or something?
> > 
> > Nope... You should never use what you find from rpmfind.
> > You should grab hbci from gnucash.org as well.
> > 
> > >  Well, I ran the strace gnucash, and I think I know what I am missing
> > > now! The last none-memory-address line before it exits is:
> > > 
> > >  /usr/lib/libgtkhtml.so.20", O_RDONLY) = -1 ENOENT (No such file or
> > > directory). 
> > > 
> > > So I went ahead and got this from redhats website(the package name is
> > > libgtkhtml-i18n-1.0.4-3.i386.rpm) I noticed there was no file by that
> > > name in my /usr/lib or usr/lib/gnucash directory. Should there be? I
> > > have a few libgtkhtml-1.1 and libgtkhtml-2 should I symlink them or is
> > > this not the problem at all?
> > 
> > Where did you get gtkhtml-1.1?  It's not distributed with RH8.  Did
> > you do something stupid^H^H^H^H^H^Hsilly like use redcarpet?  The RPMS
> > are built against the RH8-distributed RPMS, and you don't have it.
> > Revert back to gtkhtml-1.0.4-3 which is distributed with RH8.
> > 
> > -derek
> > 
> > >   Thanks for all the help!
> > >   Terry.
> > > 
> > > On Fri, 2003-06-13 at 10:08, Derek Atkins wrote:
> > > > hi,
> > > > 
> > > > Please be sure to continue to CC gnucash-user so that answers make
> > > > it into the archives....
> > > > 
> > > > Terence Kent <unix_newbie at earthlink.net> writes:
> > > > 
> > > > > Derek,
> > > > > 
> > > > >   Thanks for the quick reply!!! I am using RH v. 8.0, and I got the gnu
> > > > > cash v.1.8.4-1 for RH8.0. So, I don't think thats it.
> > > > 
> > > > Well, it could be.  Did you pull the packages from gnucash.org, or
> > > > did you look at rpmfind to grab them?  What about g-wrap?
> > > > 
> > > > >  I installed open-hbci and the library and the gnucash-hbci-1.8.4-1 just
> > > > > in case that was of use, but it doesn't appear to have been.
> > > > 
> > > > Where did you get the openhbci RPM?
> > > > 
> > > > >  Any ideas? Thanks so much,
> > > > 
> > > > Well, worst case you can run "strace gnucash" and see (at the end)
> > > > what library can't be found.
> > > > 
> > > > >  Terry.
> > > > > 
> > > > > P.S. It has not created the configuration files in ~.gnucash. Is the
> > > > > installer supposed to do that, or does that happen on the first run?
> > > > 
> > > > It happens the first run.
> > > > 
> > > > -derek
> > > > 
> > > > > On Fri, 2003-06-13 at 09:29, Derek Atkins wrote: 
> > > > > > Ok, you installed from RPM...
> > > > > > 
> > > > > > So, what version of Red Hat are you running?
> > > > > > Where did you get the RPMs?
> > > > > > Did you get the proper version of the RPMs for your version of Red Hat?
> > > > > > 
> > > > > > The RPMS _must match_ your RH Version specifically... You cannot use
> > > > > > RH7 RPMs on RH8 or RH9.  You cannot use RH8 rpms on RH7 or RH9...
> > > > > > 
> > > > > > -derek
> > > > > > 
> > > > > > Terence Kent <unix_newbie at earthlink.net> writes:
> > > > > > 
> > > > > > > Hello all,
> > > > > > > 
> > > > > > > I'm sure you've heard this a thousand times before, but I am running
> > > > > > > into a problem launching gnucash. I get the error:
> > > > > > > 
> > > > > > > ERROR: In procedure dynamic-link:
> > > > > > > ERROR: file not found
> > > > > > > 
> > > > > > >  I've installed g-wrap 1.3.4-1, and gnu-cash-ofx 1.8.4 in addition to
> > > > > > > installing gnucash. I even installed the devel version of g-wrap just in
> > > > > > > case. I read through the discussion forums and online and found that
> > > > > > > some problems where caused due to the library in 'usr/lib/gnucash to
> > > > > > > have incorrect permissions, I set those to 755 as I believe they should
> > > > > > > be.After poking around online, I don't seem to have an answer. any
> > > > > > > suggestions?
> > > > > > > 
> > > > > > >   Thanks in advance,
> > > > > > >  
> > > > > > >   Terry.
> > > > > > > 
> > > > > > > P.S. I installed the RPM version, I didn't compile it myself, was that a
> > > > > > > bad idea?
> > > > > > > 
> > > > > > > _______________________________________________
> > > > > > > gnucash-user mailing list
> > > > > > > gnucash-user at lists.gnucash.org
> > > > > > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > > > > 
> > > > > 
> > > > > -- 
> > > > > 
> > > > > Terence Kent <unix_newbie at earthlink.net>
> > > > > 
> > > -- 
> > > Terence Kent <unix_newbie at earthlink.net>
> > > 
> > > _______________________________________________
> > > gnucash-user mailing list
> > > gnucash-user at lists.gnucash.org
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -- 
> Terence Kent <unix_newbie at earthlink.net>
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list