mldonkey-bugs
[Top][All Lists]
Advanced

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

[Mldonkey-bugs] [bug #15731] Static core does not link gd correctly


From: spiralvoice
Subject: [Mldonkey-bugs] [bug #15731] Static core does not link gd correctly
Date: Thu, 25 May 2006 21:14:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8.0.3) Gecko/20060505 Firefox/1.5.0.3

Update of bug #15731 (project mldonkey):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

gdlib-config --libs on Linux/Gentoo x86 reports:
"-ljpeg -lfreetype -lpng12 -lz -lm"

On FreeBSD 6.1-release it reports:
-lgd

which is not enough.

In your linking command this is written: -cclib "-lgd -lgd"
The first "-lgd" is added by MLDonkey, the rest comes from
gdlib-config --libs which is incomplete on FreeBSD.

Changing it to -cclib "-lgd -ljpeg -lpng" produces a correct
static binary:
 ldd mlnet.static
mlnet.static:
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x284a8000)

this static binary still crashes however, this is old, known FreeBSD bug:
./mlnet.static -stdout
mlnet.static in free(): error: junk pointer, too high to make sense
Segmentation fault (core dumped)

The solution for this bug is an updated gdlib package for FreeBSD:

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15731>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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