Re: balsa: dynamic library problem
- From: Steve Marx <ignatz hawaii rr com>
- To: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- Cc: balsa-list <balsa-list gnome org>
- Subject: Re: balsa: dynamic library problem
- Date: Thu, 22 Nov 2001 19:49:59 -1000
Well, it appears to load all successfully except the very
last in the ldd list which is:
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
which strace does not show loading.
Definitely bad to mess with that one. I'm thinking that the
problem is being encountered when it tries to resolve the
externals in one of the llbraries already loaded. Here's the
tail of the strace. Any suggestions on locating the problem?
One thing useful might be that 1.2.1 builds/runs ok while 1.2.2
and 1.2.3 do not.
open("/usr/lib/libaudiofile.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300&\0"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=177272, ...}) = 0
old_mmap(NULL, 69244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40a15000
mprotect(0x40a25000, 3708, PROT_NONE) = 0
old_mmap(0x40a25000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x40a25000
close(3) = 0
open("/usr/lib/libpopt.so.0", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\21\0\000"..., 1024)
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=76229, ...}) = 0
old_mmap(NULL, 23536, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40a26000
mprotect(0x40a2b000, 3056, PROT_NONE) = 0
old_mmap(0x40a2b000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x40a2b000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40a2c000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40a2d000
mprotect(0x405d7000, 954368, PROT_READ|PROT_WRITE) = 0
mprotect(0x405d7000, 954368, PROT_READ|PROT_EXEC) = 0
mprotect(0x4029c000, 49152, PROT_READ|PROT_WRITE) = 0
mprotect(0x4029c000, 49152, PROT_READ|PROT_EXEC) = 0
mprotect(0x4021e000, 45056, PROT_READ|PROT_WRITE) = 0
mprotect(0x4021e000, 45056, PROT_READ|PROT_EXEC) = 0
mprotect(0x401ca000, 327680, PROT_READ|PROT_WRITE) = 0
mprotect(0x401ca000, 327680, PROT_READ|PROT_EXEC) = 0
mprotect(0x401a2000, 122880, PROT_READ|PROT_WRITE) = 0
mprotect(0x401a2000, 122880, PROT_READ|PROT_EXEC) = 0
mprotect(0x400da000, 389120, PROT_READ|PROT_WRITE) = 0
mprotect(0x400da000, 389120, PROT_READ|PROT_EXEC) = 0
writev(2, [{"./balsa", 7}, {": ", 2}, {"error while loading shared
libra"..., 36}, {": ", 2}, {"", 0}, {"", 0}, {"unexpected reloc type
0xf4", 26}, {"", 0}, {"", 0}, {"\n", 1}], 10./balsa: error while
loading shared libraries: unexpected reloc type 0xf4
) = 74
_exit(127) = ?
On 2001.11.22 10:09:27 -1000 Ali Akcaagac wrote:
> On Thu, 2001-11-22 at 20:59, Steve Marx wrote:
> > Hello,
> >
> > I am having a problem building version 1.23. While the
> > executable seems to build OK, when i try to run it,
> > i get the message
> > balsa: error while loading shared libraries: unexpected reloc type
>
> > 0xf4
> >
> > I have the same problem with version 1.2.2 while 1.2.1 works fine.
> > I imagine that something is wrong with the libraries on my system,
> > but can't imagine what. This is the first package that I've had
> this
> > problem with.
> > In case it helps, the output from ldd is included below.
>
> and now have fun recompiling every library on your system. no
> seriously
> you should do this 'strace balsa &>/tmp/strace.log' and when it
> fails
> look at the log and tell us which library causes it. try recompiling
> that library.
>
> --
> Name....: Ali Akcaagac
> Status..: Student Of Computer & Economic Science
> E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
> WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]