bugmldonkey, a multi-networks file-sharing client - Bugs: bug #33003, Reassigned to another tracker...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33003: Reassigned to another tracker [was: Dynamically link to glibc for static builds]

Submitter:  Bugmenot User <bugmenot>
Submitted:  Tue 05 Apr 2011 04:44:19 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  None Status:  In Progress
Assigned to:  None Open/Closed:  Closed
Release:  3.0.7 Release: 
Operating System:  Linux Binaries Origin:  Downloaded from third-party page
CPU type:  Intel x86

Sat 16 Jul 2011 09:05:05 AM UTC, comment #5: 

THIS ITEM WAS REASSIGNED TO PATCH #7579


Please, do not post any new comments to this item.

spiralvoice <spiralvoice>
Group administrator
Mon 11 Apr 2011 02:19:17 PM UTC, comment #4: 

I thought it will be simple, but ocamlopt reorders -ccopt args and so extra bookkeeping was needed :
http://repo.or.cz/w/mldonkey.git/commit/292182f68281744123703e7d5445b005b3d74285

This leaves -lpthread -lm -lc -lstdc++ (i.e. the libs added implicitly by compiler) linked dynamically.

ygrek <ygrek>
Group Member
Wed 06 Apr 2011 05:57:04 PM UTC, comment #3: 

yes

spiralvoice <spiralvoice>
Group administrator
Wed 06 Apr 2011 09:46:34 AM UTC, comment #2: 

IIUC, this is caused by static linking to glibc in SF.net binaries. So far the previous advice is ok - either compile yourself or search for ubuntu packages (see http://mldonkey.sourceforge.net/Download - there is PPA with 3.0.7 at https://launchpad.net/~a.bono/+archive/mldonkey).

But, spiralvoice, we could do better. AFAIK, nowadays, linking to glibc statically causes more portability problems than solves. Why not link to all used libs statically and dynamically to glibc? I will prepare the patch, ok?

ygrek <ygrek>
Group Member
Tue 05 Apr 2011 06:10:45 PM UTC, comment #1: 

apt-get install mldonkey-server

or compile MLDonkey yourself:
http://mldonkey.sourceforge.net/CompilationProblems#Installation_instructions_for_Ubuntu

spiralvoice <spiralvoice>
Group administrator
Tue 05 Apr 2011 04:44:19 PM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO PATCH #7579
os:ubuntu 10.10

mlnet: relocation error: /lib/libnss_mdns4_minimal.so.2: symbol  strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
i download mldonkey-3.0.7.static.i386-Linux_glibc-2.7.tar.bz2 from this page http://sourceforge.net/projects/mldonkey/files/mldonkey/3.0.7/
after tar ,cd into the mldonkey-distrib-3.0.7 directory , run mlnet and see this error information
how to solve this ? Thank you.

Bugmenot User <bugmenot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ygrek (Posted a comment)
  • -email is unavailable- added by spiralvoice (Posted a comment)
  • -email is unavailable- added by bugmenot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-16 spiralvoice Summarymlnet: relocation error Dynamically link to glibc for static builds
        Reassign Itemmldonkey, a multi-networks file-sharing client, bug #33003 mldonkey, a multi-networks file-sharing client, patch #7579
    2011-04-06 ygrek StatusInvalid In Progress
        Open/ClosedClosed Open
    2011-04-05 spiralvoice StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code