gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUnet-developers] Seg Fault in libextractor


From: Blake Matheny
Subject: Re: [GNUnet-developers] Seg Fault in libextractor
Date: Fri, 21 Feb 2003 14:27:28 -0500
User-agent: Mutt/1.4i

Hello Nils,
Here is a small patch that will fix the files not being found:

-------------------------------------------------------------------------
cvs server: Diffing .
Index: extract.c
===================================================================
RCS file: /home/cvs/GNUnet/Extractor/src/main/extract.c,v
retrieving revision 1.12
diff -u -r1.12 extract.c
--- extract.c   7 Feb 2003 18:05:44 -0000       1.12
+++ extract.c   21 Feb 2003 19:11:59 -0000
@@ -231,7 +231,7 @@
        }
       if ( strstr(ldenv, "/usr/local/lib") == NULL )
        {
-         if ( lt_dladdsearchdir("/usr/lib") != 0 )
+         if ( lt_dladdsearchdir("/usr/local/lib") != 0 )
            {
              fprintf(stderr, "ERROR: lt_dladdsearchdir failed!\n");
            }
-------------------------------------------------------------------------

This patch is now in cvs, if you could also send me your config.log (from the
compile), the Makefile from src/main, and the config.h file, that would be
great. I need to look into the dirname_len piece a bit, but thanks for the
report.

-Blake

Whatchu talkin' 'bout, Willis?
> Hi,
> 
> The line
> ---
>  if (dirname[dirname_len -1] == '/')
> ---
> in ltdl.c, function tryall_dlopen_module caused a segmentation fault on my
> machine.
> Changing it to
> ---
> if dirname_len
>  if (dirname[dirname_len -1] == '/')
> ---
> fixed the fault, but libextractor still doesn't work. It complains, that it
> isn't able to load the libetractor_xxx-Libraries, because the files were not
> found. The libs are in /usr/local/lib, the problem might have something to
> do with the variable "loaders" == NULL, leading to failure of tryall_dlopen
> ("if (!loader) ...")
> Can someone help?
> 
> Thanks,
> 
> Nils
> 
> 
> 
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnunet-developers

-- 
Blake Matheny           "... one of the main causes of the fall of the
address@hidden      Roman Empire was that, lacking zero, they had
http://www.dbaseiv.net   no way to indicate successful termination of
http://ovmj.org/GNUnet/  their C programs." --Robert Firth




reply via email to

[Prev in Thread] Current Thread [Next in Thread]