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

Submitter:  Kriet Ho <krietho>
Submitted:  Fri 23 Jun 2006 04:58:44 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Program malfunction Status:  Works For Me
Assigned to:  None Open/Closed:  Closed
Release:  2.7.7 Release: 
Operating System:  Linux Binaries 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>
Group 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>

 

(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

 

CC list is empty

 

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

Date Changed by Updated Field Previous Value => Replaced by
2006-06-24 spiralvoice Open/ClosedOpen Closed
2006-06-23 spiralvoice StatusNone Works For Me

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code