Re: Re: Re: gpg broken in balsa 2.0.10?



On 2003.04.01 20:53, Albrecht Dreß wrote:
> Am 01.04.03 18:19 schrieb(en) Pawel Salek:
>> What happens if you add the following line to libgpgme.la?
>> 
>> # Libraries that this one depends upon.
>> dependency_libs=' -lpthread'
> 
> Nothing happens, the linking order is still bad... There should be an

I know it is a stupid question but I have to ask: are you sure? 
(...speaking from a safe distance...) Are you sure libgpgme.la is being 
read by libtool (I guess looking at the access time or even better 
strace would tell a lot)?

When I run the link process through strace and grep the output, I get:
$ strace -o log -f /bin/sh ../libtool --mode=link gcc [....]

$ grep gpgme log
12323 stat64("/usr/lib/libgpgme.la", {st_mode=S_IFREG|0755, 
st_size=707, ...}) = 0
12541 execve("/bin/sed", ["sed", "-e", "2q", "/usr/lib/libgpgme.la"], 
[/* 35 vars */]) = 0
12541 open("/usr/lib/libgpgme.la", O_RDONLY|O_LARGEFILE) = 3
12541 write(1, "# libgpgme.la - a libtool librar"..., 118) = 118
12542 read(0, "# libgpgme.la - a libtool librar"..., 32768) = 118
12544 write(1, "X/usr/lib/libgpgme.la\n", 22) = 22
12545 read(0, "X/usr/lib/libgpgme.la\n", 8192) = 22
12323 stat64("/usr/lib/libgpgme.la", {st_mode=S_IFREG|0755, 
st_size=707, ...}) = 0
12323 access("/usr/lib/libgpgme.la", X_OK) = 0
12323 open("/usr/lib/libgpgme.la", O_RDONLY|O_LARGEFILE) = 3
12323 read(3, "# libgpgme.la - a libtool librar"..., 707) = 707
12547 write(1, "X/usr/lib/libgpgme.la\n", 22) = 22
12548 read(0, "X/usr/lib/libgpgme.la\n", 8192) = 22
12548 write(1, "libgpgme.la\n", 12)     = 12
12323 <... read resumed> "libgpgme.la\n", 128) = 12
12323 stat64("/usr/lib/libgpgme.so", {st_mode=S_IFREG|0755, 
st_size=123113, ...}) = 0
12550 write(1, "Xlibgpgme.la\n", 13 <unfinished ...>
12551 read(0, "Xlibgpgme.la\n", 8192)   = 13
12323 stat64("/usr/lib/libgpgme.la", {st_mode=S_IFREG|0755, 
st_size=707, ...}) = 0
12739 execve("/bin/sed", ["sed", "-e", "2q", "/usr/lib/libgpgme.la"], 
[/* 35 vars */]) = 0
12739 open("/usr/lib/libgpgme.la", O_RDONLY|O_LARGEFILE) = 3
12739 write(1, "# libgpgme.la - a libtool librar"..., 118) = 118
12740 read(0, "# libgpgme.la - a libtool librar"..., 32768) = 118
12742 write(1, "X/usr/lib/libgpgme.la\n", 22) = 22
12743 read(0, "X/usr/lib/libgpgme.la\n", 8192) = 22
12323 stat64("/usr/lib/libgpgme.la", {st_mode=S_IFREG|0755, 
st_size=707, ...}) = 0
12323 access("/usr/lib/libgpgme.la", X_OK) = 0
12323 open("/usr/lib/libgpgme.la", O_RDONLY|O_LARGEFILE) = 3
12323 read(3, "# libgpgme.la - a libtool librar"..., 707) = 707
12745 write(1, "X/usr/lib/libgpgme.la\n", 22 <unfinished ...>
12746 <... read resumed> "X/usr/lib/libgpgme.la\n", 8192) = 22
12746 write(1, "libgpgme.la\n", 12)     = 12
12323 <... read resumed> "libgpgme.la\n", 128) = 12
12323 stat64("/usr/lib/libgpgme.so", {st_mode=S_IFREG|0755, 
st_size=123113, ...}) = 0
12748 write(1, "Xlibgpgme.la\n", 13 <unfinished ...>
12749 read(0, "Xlibgpgme.la\n", 8192)   = 13
12801 access("/usr/lib/libgpgme.so", F_OK) = 0
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 11
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 14
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 8
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 12
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 6
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 10
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 14
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 8
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 12
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 6
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 10
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 14
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 8
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 12
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 6
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 10
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 14
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 8
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 12
12803 open("/usr/lib/libgpgme.so", O_RDONLY) = 6

Pawel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]