[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting libs
> Seems that I have a few screwed and missing libs,
> I needed a latest perl so I fetch the rpm from contrib
> but it was compiled on a box with a few libs that I miss
Hmm... On which setup?
On my RH5, perl needs:
~>ldd `which perl`
libnsl.so.1 => /lib/libnsl.so.1 (0x00113000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x00119000)
libdb.so.2 => /lib/libdb.so.2 (0x0011f000)
libdl.so.2 => /lib/libdl.so.2 (0x0012d000)
libm.so.6 => /lib/libm.so.6 (0x00130000)
libc.so.6 => /lib/libc.so.6 (0x00149000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x001ed000)
it's 5.004_04, the latest AFAIK?
Sorry, no access to other setups at the moment.
> like 'posix'
~>rpm -qf /usr/lib/libposix.a
glibc-devel-2.0.6-9
> I search everywhere and I couldn't find what package it belongs too
libc, I suppose.
> As well I want these as well and I don't know where to find them:
> No -lnm
do not have it
> No -lmalloc
also not
> No -ldld
not, but there is libdl
~> rpm -qf /lib/libdl.so.2
glibc-2.0.6-9
> No -lld
hmm... there is ld.so, but it isn't library... no libld.so or .a
> No -lcposix.
not
> No -lposix.
~>rpm -qf /usr/lib/libposix.a
glibc-devel-2.0.6-9
> No -lndir.
not
> No -ldir.
not
> Anyway I browsed linux archives and I din't find a thing
I'm not sure such a things exist on linux or are needed.
> BTW, Do someones know what do I miss when I get during mod_perl
> compilation :
> /usr/lib/perl5/i386-linux/5.00404/CORE/libperl.a(pp_hot.o): In function
> `Perl_pp_aassign':
> pp_hot.o(.text+0x14fc): undefined reference to `setresuid'
> pp_hot.o(.text+0x152f): undefined reference to `setresgid'
>
> Is it possible that it from posix lib?
well, AFAIK configure should catch it whereever be it...
Anyway:
/lib>nm libc-2.0.6.so | grep setresuid
000705e0 T setresuid
However, none of it in libc5...
> I tried to recompile perl about 20 times but it didn't passed make test...
Seems or you system is badly messed up, or you've run configure in a wrong
way (not that I ever imagine how one can do it ;). Never has problem
compiling Perl on linux (or on other UNIX, in fact).
--
frodo@sharat.co.il \/ There shall be counsels taken
Stanislav Malyshev /\ Stronger than Morgul-spells
phone +972-2-6251746 /\ JRRT LotR.
http://sharat.co.il/frodo/ whois:!SM8333