From: Richard Hirst <rhirst@linuxcare.com>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] slang.so problems
Date: Tue, 15 May 2001 16:59:00 +0100 [thread overview]
Message-ID: <20010515165900.H24955@linuxcare.com> (raw)
I have had problems relating to slang.so when building boot-floppies.
I don't entirely understand what is going on, so I'm posting the
facts as I see them, so others can comment.
There are three packages, slang1, slang1-dev, slang1-pic (-pic probably
isn't relevant here).
The basic problem is that slang1 provides only libslang1.so.1 and
libslang.so.1.4.4, but various things expect libslang.so and so
wont run unless sland1-dev is installed. slang1-dev provides
libslang.so.
Things I have found that are affected are cfdisk (in util-linux),
whiptail, and libnewt0.
As a test I installed the three slang1 packages from the debian
archive and did "gcc -o hw hw.c -lslang; ldd hw". I get:
libslang.so => /usr/lib/libslang.so (0x4002b000)
libc.so.6 => /lib/libc.so.6 (0x400b0000)
libm.so.6 => /lib/libm.so.6 (0x401f4000)
libdl.so.2 => /lib/libdl.so.2 (0x40234000)
/lib/ld.so.1 => /lib/ld.so.1 (0x40000000)
If I now remove slang1-dev, and try to run hw I get
./hw: error while loading shared libraries: libslang.so: cannot load shared object file: No such file or directory
If I build my own slang1 packages and install them and then remake
'hw', I get
libslang.so.1 => /lib/libslang.so.1 (0x4002b000)
libc.so.6 => /lib/libc.so.6 (0x400b0000)
libm.so.6 => /lib/libm.so.6 (0x401f4000)
libdl.so.2 => /lib/libdl.so.2 (0x40234000)
/lib/ld.so.1 => /lib/ld.so.1 (0x40000000)
and 'hw' runs fine with slang1-dev removed, as it should.
cfdisk from the debain archive wont run unless slang1-dev is installed.
If I rebuild cfdisk myself, with the debian slang1 packages installed,
cfdisk still wants libslang.so. If I rebuild cfdisk with my own build
slang1 packages installed, the resulting cfdisk wants libslang.so.1,
as it should.
So, it seems something is wrong with the slang1 packages in debian,
and that has resulted in bad util-linux, whiptail, and libnewt0 builds.
I don't know what might have gone wrong with the debian builds, because
when I build slang1 debs they are fine.
Can someone else try this, and, if appropriate, upload new slang*,
util-linux, whiptail, and libnewt0 packages to the archive?
Thanks,
Richard
next reply other threads:[~2001-05-15 16:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-15 15:59 Richard Hirst [this message]
2001-05-28 14:06 ` [parisc-linux] Re: slang.so problems Richard Hirst
2001-05-28 15:17 ` Paul Bame
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010515165900.H24955@linuxcare.com \
--to=rhirst@linuxcare.com \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.