Re: statically linked version of genpkglist and gensrclist ?
Steven Shiau <[email protected]> Wed, 02 Feb 2005 11:36:10 +0800
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
Hi, Jeff:
My situation is that I need the genpkglist/gensrclist in Debian (my apt
repository server). But the librpm in sarge and sid is 4.0, however,
the apt-0.5.15cnc6-1.1 needs librpm 4.3 or 4.2, I think. So I am not
able to compile genpkglist/gensrclist in Debian sarge.
Well, I found a solution, actually I use statifier in RedHat 9 to
produce the statically linked genpkglist/gensrclist, and it works in
sarge. Although the apt is apt-0.5.15cnc3. But it's enough for me.
Thanks again.
Steven.
Jeff Pitman wrote:
> Get the source code, recompile and statify under debian, then try to run
> under fc3. I'm not sure if LD_ASSUME_KERNEL affects statifier. I think
> it's an LD preload-type hack that shifts the thread api to an older
> version (non-NPTL). The underlying problem still is the same:
> difference in thread abi.
>
> good luck,
> jeff
>
> On Wednesday 02 February 2005 11:05, Steven Shiau wrote:
>
>>I did like this:
>>in FC3,
>>export LD_ASSUME_KERNEL=2.4.1
>>statifier /usr/bin/gensrclist gensrclist-static-2.4
>>
>>Run it in sarge. Still failed.
>>----------------------------------
>>strace ./gensrclist-static-2.4
>>execve("./gensrclist-static-2.4", ["./gensrclist-static-2.4"], [/* 15
>>vars */]) = 0
>>--- SIGSEGV (Segmentation fault) @ 0 (0) ---
>>+++ killed by SIGSEGV +++
>>----------------------------------
>>
>>Thanks.
>>
>>Jeff Pitman wrote:
>>
>>>On Tuesday 01 February 2005 21:28, Steven Shiau wrote:
>>>
>>>>Any idea ?
>>>>Thanks in advance.
>>>
>>>NPTL. Try LD_ASSUME_KERNEL=2.4.1; just a wild, wild guess.
>
>