On Saturday, Jul 26, 2003 at 14:51, Christian Biere wrote:
> Did you really compile 0.92.1c now or did you compile a newer
> version from CVS?

This was using the source for 0.92.1c... The initial compile resulted
in a segfault, but not on the second machine I tried it on. Then,
after including "-L/usr/lib" and recompiling, I got it working.

>  Thomas Schuerger found the bug and sent
> a patch.

I noticed another crash report on the list about the same time as I
sent mine, and this appeared to address that one. I did apply the
patch just in case, but it didn't help.

This seems to have been purely a matter of mismatched versions between
my include files for libz and a (previously undiscovered) static
libz.a lurking amongst my X11 libraries.

> There is a check. It simply depends on the order of the paths
> you tell to the linker with -L. You can also use the workaround
> to set LD_LIBRARY_PATH for the executable, if you cannot fix
> the order due to e.g., collisions in several paths.

That's as I suspected (and vaguely recall reading in some gcc
docs). Unfortunately the LD_LIBRARY_PATH fix wouldn't have worked
here, because it was linking libz.a in statically.
 
> I'd try to hide or remove the "bad" libz.a. It's a static
> library so removing it shouldn't break anything and it looks
> like you don't want to build anything against it either.

I agree... I consider this a problem with the default XFree86 install
that stuck this library there, rather than gtk-gnutella :) I must say,
now that it's running, I'm very impressed with all the new settings
that have been added! I'm off to RTFM to find out what they all mean :)

Thanks for your help,
B*B,
-Smoke.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to