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]

Submitted by:  Bugmenot User <bugmenot>
Submitted on:  Tue 05 Apr 2011 04:44:19 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: NoneStatus: In Progress
Assigned to: NoneOpen/Closed: Closed
Release: Release: 3.0.7
Operating System: LinuxBinaries 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>
Project 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>
Project Member
Wed 06 Apr 2011 05:57:04 PM UTC, comment #3:

yes

spiralvoice <spiralvoice>
Project 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>
Project 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 16 Jul 2011 09:05:05 AM UTCspiralvoiceSummarymlnet: 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
    Wed 06 Apr 2011 09:46:34 AM UTCygrekStatusInvalid=>In Progress
      Open/ClosedClosed=>Open
    Tue 05 Apr 2011 06:10:45 PM UTCspiralvoiceStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1