Re: libdl bugs

"Markus Wichmann" <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
Ralf Wildenhues schrieb:
> Hello,
>
> * Markus Wichmann wrote on Sat, Feb 20, 2010 at 06:13:33PM CET:
>> Did you know that GNU sed uses libtool?
>
> No, it doesn't.  You may be thinking of gnulib.
>

Indeed. Must have mixed up things.

>> I'm currently
>> looking for alternative seds because of that. Because unless I
>> "bootstrap"
>> it (dunno what that means in the context of building a simple stream
>> editor) it will link against libselinux, which is nonpresent in my LFS
>> environment.
>
> It should be possible to turn off selinux support.  I don't see an
> official switch, but if
>   ./configure ac_cv_search_setfilecon=no
>
> doesn't work, then you should write to bug-gnulib.  Thanks.
>
>> if [ "$1" == "-v" ]
>
> == is a bashism, but = is portable.
>

Oh, my bad. I looked it up in POSIX and removed the second = somewhere
else. And bash isn't the only shell to support ==, zsh does too.

>> I did not wish to enhance the script with version handling. I simply
>> have
>> to hope that globbing is done in the correct order.
>
> Posix requires filename expansion to happen in collation order, yes.
>

Yes, but that means that version 10 comes before version 9. Only I didn't
wish to rely on the convention that the last part of the file name has to
be a version number. For instance with dietlibc that would be an improper
thought (dietlibc _does_ have a SONAME, only it equals the file name. Oh
my, I'll have to fix the script. Update follows.)

> Cheers,
> Ralf
>

Regards,
Markus
-- 
Progress (n.): Process through which USENET evolved from smart people in
front of dumb terminals to dumb people in front of smart terminals.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.