[GNC] Finance::Quote failed to initialize

Bruce Schuck bschuck at asgard-systems.com
Fri Oct 4 21:14:36 EDT 2024


John and Flavio,


If Flavio installed GnuCash via HomeBrew as he indicated in one of the 
previous messages 
(https://lists.gnucash.org/pipermail/gnucash-user/2024-October/113530.html) 
there should *not* be the directory tree /Applications/Gnucash.app/... 
Homebrew installs applications under /usr/local or under the user's home 
directory.

Perl installed via HomeBrew will be installed in a path similar to 
/usr/local/Cellar/perl/5.38.2_1 depending on the Perl version. There 
will also be symlink /usr/local/opt/perl referencing the install dir.

Assuming F's Perl is Homebrew, try this from the command line 
(https://github.com/finance-quote/finance-quote/discussions/240#discussioncomment-10849417):

for dir in $(/usr/local/opt/perl/bin/perl -V | grep -A 50 '@INC:' | grep 
'^ *\/.*darwin-thread-multi-2level' | sed -e 
's/\/darwin-thread-multi-2level$//')
do
     echo "Searching: $dir"
     for found in $(find $dir -xdev -path '*/Finance/*' -type f -name 
'Quote.pm' 2>/dev/null)
     do
         echo "$found"
         grep '^our $VERSION =' $found
     done
     echo
done

Hope this helps.

Bruce S


More information about the gnucash-user mailing list