CVS binary: libgw-gnc.so not found (#1) openhbci-test fails (#2)

Christian Gatzemeier c.gatzemeier at tu-bs.de
Sun Feb 2 15:07:51 CST 2003


 
 
Sorry, I don't know how to proceed with this. 
 
 
####### 
topic 1 
####### 
 
Using 
./autogen.sh --enable-hbci --enable-gui --with-gnome=/opt/gnome 
 
I get 
checking for OpenHBCI... /usr/local 
checking for OpenHBCI - version >= 0.9.4... no 
*** Could not run OpenHBCI test program, checking why... 
*** 
*** The test program failed to compile or link. See the file config.log for 
the 
*** exact error that occured. This usually means OpenHBCI is incorrectly 
installed. 
@linux:/tmp/gnucash/gnucash> 
 
 
 
 
 
config.log: 
----------- 
 
 
configure:15347: checking for OpenHBCI 
configure:15413: result: /usr/local 
configure:15417: checking for OpenHBCI - version >= 0.9.4 
configure:15496: gcc -o conftest -g -O2 -Werror -I/usr/local/include 
-I/usr/local/include/chipcard    conftest.c -L/usr/lib -lcrypto -ldl 
-L/usr/local/lib -lchipcard -L/usr/lib -lcrypto -lopenhbci -lstdc++ 
-L/usr/local/lib -lopenhbci -lm  >&5 
cc1: changing search order for system directory "/usr/local/include" 
cc1:   as it has already been specified as a non-system directory 
configure:15499: $? = 1 
configure: program exited with status 1 
configure: failed program was: 
#line 15429 "configure" 
#include "confdefs.h" 
 
#include <openhbci.h> 
#include <stdio.h> 
#include <string.h> 
#include <stdlib.h> 
 
int 
main () 
{ 
  int major, minor, micro; 
  int getmajor, getminor, getmicro; 
  char *tmp_version; 
 
  system ("touch conf.openhbcitest"); 
 
  /* HP/UX 9 writes to sscanf strings */ 
  tmp_version = strdup("0.9.4"); 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) { 
    printf("%s, bad version string\n", "0.9.4"); 
    exit(1); 
  } 
 
  HBCI_Hbci_libraryVersion(&getmajor, &getminor, &getmicro); 
 
  if ((getmajor != OPENHBCI_VERSION_MAJOR) || 
      (getminor != OPENHBCI_VERSION_MINOR) || 
      (getmicro != OPENHBCI_VERSION_PATCHLEVEL)) 
    { 
      printf("*** OpenHBCI header files (version %d.%d.%d) do not match\n", 
	     OPENHBCI_VERSION_MAJOR, 
	     OPENHBCI_VERSION_MINOR, 
	     OPENHBCI_VERSION_PATCHLEVEL); 
      printf("*** installed library (version %d.%d.%d)\n", 
	     getmajor, getminor, getmicro); 
      exit(1); 
    } 
  else 
    { 
      if ((getmajor > major) || 
	  ((getmajor == major) && (getminor > minor)) || 
	  ((getmajor == major) && (getminor == minor) && (getmicro >= micro))) 
	{ 
	  return 0; 
	} 
      else 
	{ 
	  printf("\n*** An old version of OpenHBCI (%d.%d.%d) was found.\n", 
		 getmajor, getminor, getmicro); 
	  printf("*** You need OpenHBCI in version %d.%d.%d or newer. The 
latest version\n", 
		 major, minor, micro); 
	  printf("*** of OpenHBCI is always available from 
http://www.openhbci.de.\n"); 
	  printf("***\n"); 
	  printf("*** If you have already installed a sufficiently new 
version, this error\n"); 
	  printf("*** probably means that you need to specify the right path 
by\n"); 
	  printf("*** --with-openhbci-prefix=PATH.  (Also, check that your 
LD_LIBRARY_PATH\n"); 
	  printf("*** enviroment variable is correct, or edit 
/etc/ld.so.conf\n"); 
	  printf("*** so that the correct libraries are found at 
run-time))\n"); 
	} 
    } 
  return 1; 
} 
 
configure:15524: result: no 
configure:15556: gcc -o conftest -g -O2 -Werror -I/usr/local/include 
-I/usr/local/include/chipcard    conftest.c -lm  -L/usr/lib -lcrypto -ldl 
-L/usr/local/lib -lchipcard -L/usr/lib -lcrypto -lopenhbci -lstdc++ 
-L/usr/local/lib -lopenhbci >&5 
cc1: changing search order for system directory "/usr/local/include" 
cc1:   as it has already been specified as a non-system directory 
configure:15559: $? = 1 
configure: failed program was: 
#line 15534 "configure" 
#include "confdefs.h" 
 
#include <openhbci.h> 
#include <stdio.h> 
 
#ifdef F77_DUMMY_MAIN 
#  ifdef __cplusplus 
     extern "C" 
#  endif 
   int F77_DUMMY_MAIN() { return 1; } 
#endif 
int 
main () 
{ 
 return ((OPENHBCI_VERSION_MAJOR) || (OPENHBCI_VERSION_MINOR) || 
(OPENHBCI_VERSION_PATCHLEVEL)); 
  ; 
  return 0; 
} 
 
 
 
 
 
####### 
topic 2 
####### 
 
 
 
After building with --disable-hbcitest and starting gnucash I get: 
 
In procedure dynamic-link 
ERROR  file not found 
 
 
strace gnucash 
-------------- 
[...] 
open("/usr/local/lib/gnucash/libgw-gnc.a", O_RDONLY) = -1 ENOENT (No such file 
or directory) 
open("i686/libgw-gnc.a", O_RDONLY)      = -1 ENOENT (No such file or 
directory) 
open("libgw-gnc.a", O_RDONLY)           = -1 ENOENT (No such file or 
directory) 
open("/usr/local/lib/libgw-gnc.a", O_RDONLY) = 6 
read(6, "!<arch>\n/               10441916"..., 1024) = 1024 
close(6)                                = 0 
access("/usr/local/lib/gnucash/libgw-gnc.so", R_OK) = -1 ENOENT (No such file 
or directory) 
open("/usr/local/lib/gnucash/libgw-gnc.so", O_RDONLY) = -1 ENOENT (No such 
file or directory) 
write(2, "ERROR", 5ERROR)                    = 5 
write(2, ": ", 2: )                       = 2 
write(2, "In procedure ", 13In procedure )           = 13 
write(2, "dynamic-link", 12dynamic-link)            = 12 
write(2, ":\n", 2: 
)                      = 2 
write(2, "ERROR", 5ERROR)                    = 5 
write(2, ": ", 2: )                       = 2 
write(2, "file not found", 14file not found)          = 14 
write(2, "\n", 1 
)                       = 1 
_exit(2)                                = ? 
 
 
 
I could not find a file named libgw-gnc.so anywhere on my system. 
 
 
 
-Christian 
 
 
 
 


More information about the gnucash-devel mailing list