bugmldonkey, a multi-networks file-sharing client - Bugs: bug #16922, Libmagic not present

 
 

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

bug #16922: Libmagic not present

Submitted by:  Kriet Ho <krietho>
Submitted on:  Fri 23 Jun 2006 04:58:44 AM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Works For Me
Assigned to: NoneOpen/Closed: Closed
Release: Release: 2.7.7
Operating System: LinuxBinaries Origin: Binary from Savannah
CPU type: Intel x86

Sat 24 Jun 2006 07:07:23 AM UTC, comment #4:

$ ls /usr/share/misc/file
/bin/ls: /usr/share/misc/file: No such file or directory
$ file --version
file-4.17
magic file from /usr/share/file/magic
$ ln -s /usr/share/file /usr/share/misc/file
$ mlnet
[dMain] Libmagic file-type recognition database present

Thanks

Kriet Ho <krietho>
Fri 23 Jun 2006 07:09:14 PM UTC, comment #3:

You search for the libmagic library files, but MLDonkey misses
to libmagic file recognition database, the database is stored
in files named

magic
magic.mgc
magic.mime
magic.mime.mgc

If you have these files, but the binary version of MLDonkey can
not find them its because the directory where these files are on
Suse 9.0 maybe different from Debian Sarge, the distro the binary
core is built on. The libmagic libraries are statically linked
into MLDonkey binary so the search path is hard-coded, in this
case /usr/share/misc/file.

You have to compile MLDonkey yourself to get a core which can use
the libmagic database on your system.

spiralvoice <spiralvoice>
Project Administrator
Fri 23 Jun 2006 05:11:04 AM UTC, comment #2:

the user that executes mlnet can do
file temp/*

Kriet Ho <krietho>
Fri 23 Jun 2006 05:03:07 AM UTC, comment #1:

/usr/lib/libmagic.so: symbolic link to `libmagic.so.1.0.0'
/usr/lib/libmagic.so.1.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

Kriet Ho <krietho>
Fri 23 Jun 2006 04:58:44 AM UTC, original submission:

[dMain] Libmagic file-type recognition database not present
$ whereis libmagic
libmagic: /usr/lib/libmagic.la /usr/lib/libmagic.so /usr/lib/libmagic.a /usr/local/lib/libmagic.la /usr/local/lib/libmagic.so
+/usr/local/lib/libmagic.a /usr/man/man3/libmagic.3 /usr/share/man/man3/libmagic.3.gz

system: SuSE 9.0

Kriet Ho <krietho>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 24 Jun 2006 10:10:25 AM UTCspiralvoiceOpen/ClosedOpen=>Closed
Fri 23 Jun 2006 07:09:14 PM UTCspiralvoiceStatusNone=>Works For Me

Back to the top


Powered by Savane 3.1-cleanup1