Posted Jan 12, 2008 11:49 UTC (Sat) by dh (subscriber, #153)
In reply to: GoboLinux by cdmiller
Parent article: GoboLinux
Hi,
I remember that I did software management like this back in 1995 when I
was student administrator at the university's computer science institute.
My colleague Thomas Esser (the guy who did teTeX) even wrote a perl
script "lntool" which did the links from /usr/local/{bin,lib,etc,...} into
the specific subdirectories.
I do this even today for software I install additionally to the
distribution's packages. As this is usually only a small number of
programs, I do the links by hand today. And unfortunately, since some
version of the basic tools, softlinked libraries are not found and used
any more, so for /usr/local/lib, this does not work any more. :-(
Best regards,
Dirk
Posted Jan 12, 2008 13:05 UTC (Sat) by nix (subscriber, #2304)
[Link]
Symlinks to shared libraries are picked up by /sbin/ldconfig just fine
(and thus used by ld-linux.so.2). Back in the glibc 2.2.x days, they
weren't, so you had to add heaps of entries to /etc/ld.so.conf instead:
but this was fixed long ago:
2001-05-07 H.J. Lu <hjl@gnu.org>
* elf/ldconfig.c (dir_entry): Add ino and dev.
(add_single_dir): Compare ino and dev to check if 2 directory
paths are the same or not. Free entry->path for duplicates.
(add_dir): Initialize ino and dev for entry.
(search_dir): Handle symlink to directory.
2003-07-21 HJ Lu <hongjiu.lu@intel.com>
* elf/ldconfig.c (search_dir): Treat symlink as regular file
if it won't point to itself.
2003-08-25 Jakub Jelinek <jakub@redhat.com>
* elf/ldconfig.c (search_dir): Treat symlink as regular file
if it won't point to itself unless it is .so symlink for the
linker.
GoboLinux
Posted Jan 14, 2008 21:23 UTC (Mon) by dh (subscriber, #153)
[Link]
Hi,
thanks for clarification. Could be that I was wrong about the lib
problems. Perhaps I remember the switch from a.out to elf or from Irix to
Linux (which was long before 2001...). I do not install much software this
way any more as most simply comes with the distributions. And if, I
usually just make the link in /usr/local/bin by hand.
Best regards,
Dirk