auCDtect 0.8.2 for Linux updates?


1 post in this topic

Posted

Hello,
I would like to find out is it possible to compile auCDtect 0.8.2 static build for Linux?
Available 0.8.2 build was compiled against too much outdated versions of shared libs and auCDtect fails with error when use trick by setting LD_PRELOAD to this old lib.

$ ./auCDtect 
./auCDtect: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
/tmp/auCDtect $ ldd ./auCDtect 
	linux-gate.so.1 =>  (0xb76f7000)
	libstdc++-libc6.2-2.so.3 => not found
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb76a8000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb74fe000)
	/lib/ld-linux.so.2 (0xb76f8000)

$ LD_PRELOAD=./libstdc++-libc6.2-2.so.3 ./auCDtect /tmp/02\ -\ Breathe\ \(In\ The\ Air\).wav 
auCDtect: CD records authenticity detector, version 0.8.2
Copyright (c) 2004 Oleg Berngardt. All rights reserved.
Copyright (c) 2004 Alexander Djourik. All rights reserved.
------------------------------------------------------------
Processing file:	[02 - Breathe (In The Air).wav]
Data analysis:		[100%]
------------------------------------------------------------
This track looks like CDDA with probability 100%

*** glibc detected *** ./auCDtect: double free or corruption (!prev): 0x09f0c008 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x74fd2)[0xb75ccfd2]
./auCDtect[0x8049741]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb7571533]
======= Memory map: ========
08048000-0805f000 r-xp 00000000 00:12 73078569   /tmp/auCDtect/auCDtect
0805f000-08060000 rwxp 00017000 00:12 73078569   /tmp/auCDtect/auCDtect
08060000-080a4000 rwxp 00000000 00:00 0 
09f0c000-09f2d000 rwxp 00000000 00:00 0          [heap]
b73c1000-b7558000 rwxp 00000000 00:00 0 
b7558000-b76fb000 r-xp 00000000 08:06 166986     /lib/i386-linux-gnu/libc-2.15.so
b76fb000-b76fd000 r-xp 001a3000 08:06 166986     /lib/i386-linux-gnu/libc-2.15.so
b76fd000-b76fe000 rwxp 001a5000 08:06 166986     /lib/i386-linux-gnu/libc-2.15.so
b76fe000-b7702000 rwxp 00000000 00:00 0 
b7702000-b772c000 r-xp 00000000 08:06 166995     /lib/i386-linux-gnu/libm-2.15.so
b772c000-b772d000 r-xp 00029000 08:06 166995     /lib/i386-linux-gnu/libm-2.15.so
b772d000-b772e000 rwxp 0002a000 08:06 166995     /lib/i386-linux-gnu/libm-2.15.so
b772f000-b774a000 r-xp 00000000 08:06 130432     /lib/i386-linux-gnu/libgcc_s.so.1
b774a000-b774b000 r-xp 0001a000 08:06 130432     /lib/i386-linux-gnu/libgcc_s.so.1
b774b000-b774c000 rwxp 0001b000 08:06 130432     /lib/i386-linux-gnu/libgcc_s.so.1
b774c000-b774f000 rwxp 00000000 00:00 0 
b774f000-b7788000 r-xp 00000000 00:12 73078570   /tmp/auCDtect/libstdc++-3-libc6.2-2-2.10.0.so
b7788000-b7795000 rwxp 00038000 00:12 73078570   /tmp/auCDtect/libstdc++-3-libc6.2-2-2.10.0.so
b7795000-b7799000 rwxp 00000000 00:00 0 
b7799000-b779a000 r-xp 00000000 00:00 0          [vdso]
b779a000-b77ba000 r-xp 00000000 08:06 166992     /lib/i386-linux-gnu/ld-2.15.so
b77ba000-b77bb000 r-xp 0001f000 08:06 166992     /lib/i386-linux-gnu/ld-2.15.so
b77bb000-b77bc000 rwxp 00020000 08:06 166992     /lib/i386-linux-gnu/ld-2.15.so
bfa6f000-bfae2000 rwxp 00000000 00:00 0          [stack]
Аварийный останов (сделан дамп памяти)

Unfortunately, auCDtect is not open source so I can't compile it by myself, though I could.

Regards,
Pavel

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now