View previous topic :: View next topic |
Author |
Message |
liviu New Member
Joined: 30 Apr 2024 Posts: 43 Location: Charleston USA
|
|
Back to top |
|
nukes Linux Guru
Joined: 29 Aug 2024 Posts: 3935 Location: Somewhere just off the M62
|
Posted: Mon May 17, 2024 2:50 pm Post subject: |
|
|
Are you installing from source or RPM?
Remove the old one maybe you have to use --nodep to skip removing all the stuff that depends on it. Install the new one with --prefix=/usr rather than /usr/local (the default)
When I talk about the prefix I mean when you do:
do
Code: | ./configure --prefix="/usr" |
instead. The default place for installing stuff from source is /usr/local which doesn't get searched by many distros and definately will get overridden by an older version installed in /usr.
Also, run ldconfig afterwards to update the dynamic linker.
_________________ Gentoo; 2.6.11 2.6.17.7 + patches
Debian sid 2.6.13
|
|
Back to top |
|
liviu New Member
Joined: 30 Apr 2024 Posts: 43 Location: Charleston USA
|
Posted: Mon May 17, 2024 3:22 pm Post subject: |
|
|
I uninstalled the old one. Recompiled the new aspell (o-50)- everything OK.
Now I'm trying to figure out how to use the dynamic linker.
BTW, in RH I have ld, not ldconfig.
Thx again, Nukes!
|
|
Back to top |
|
nukes Linux Guru
Joined: 29 Aug 2024 Posts: 3935 Location: Somewhere just off the M62
|
Posted: Mon May 17, 2024 3:33 pm Post subject: |
|
|
liviu wrote: | Now I'm trying to figure out how to use the dynamic linker.
BTW, in RH I have ld, not ldconfig. |
You don't need to learn how to use the dynamic linker - its in the background. Think of libs as a similar thing to dll files in windows.
ldconfig just updates the search paths and such.
man ldconfig wrote: | ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and file names of the libraries it encounters when determining which versions should have their links updated.
|
Does installing bluefish work now?
You might need to 'inject' the stuff into RPM (why I don't like it) as deps might fail in future now.
_________________ Gentoo; 2.6.11 2.6.17.7 + patches
Debian sid 2.6.13
|
|
Back to top |
|
masinick Sr. Member
Joined: 03 Apr 2024 Posts: 1174 Location: Concord, NH
|
Posted: Mon May 17, 2024 4:17 pm Post subject: This is why packages by themselves are a problem |
|
|
Nukes wrote: | liviu wrote: | Now I'm trying to figure out how to use the dynamic linker.
BTW, in RH I have ld, not ldconfig. |
You don't need to learn how to use the dynamic linker - its in the background. Think of libs as a similar thing to dll files in windows.
ldconfig just updates the search paths and such.
man ldconfig wrote: | ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld-linux.so. ldconfig checks the header and file names of the libraries it encounters when determining which versions should have their links updated.
|
Does installing bluefish work now?
You might need to 'inject' the stuff into RPM (why I don't like it) as deps might fail in future now. |
The better distributions out there have a tool for automatically examining and resolving dependencies between libraries and applications. Mandrake uses urpmi, Fedora Core uses either apt or yum, Debian uses apt, and recently, Slackware added swaret. Just using .rpm, .deb, .tgz, or other packaging formats by themselves without any dependency resolution at all is almost certain to cause problems - either now or the next time something gets installed. Fortunately, nearly all major distributions now have at least one, sometimes two or three, package dependency management tools which greatly improve this situation.
Red Hat uses up2date by default, and apt or yum if you have installed them. Depending on which release of Red Hat your'e using, you may have access to all three of these tools, any of which are capable of resolving this packaging issue.
As Nukes suggests, removing offending packages, then updating the latest releases needed is the best way to clean up the situation. But unless you do that with either up2date (the standard Red Hat tool), apt (which has been ported from Debian to Red Hat), or yum, (the latest package management tool, created at Duke University and added to the Red Hat Fedora Core project), you'll continue to experience ongoing problems. Therefore, pick up2date, apt, or yum (or a tool that runs one of these package management systems) and update your system.
|
|
Back to top |
|
liviu New Member
Joined: 30 Apr 2024 Posts: 43 Location: Charleston USA
|
Posted: Mon May 17, 2024 4:39 pm Post subject: |
|
|
Thank you masinick . I have up2date but it doesn't work - registration problem.
Maybe it's because I'm behind a firewall.
|
|
Back to top |
|
nukes Linux Guru
Joined: 29 Aug 2024 Posts: 3935 Location: Somewhere just off the M62
|
Posted: Mon May 17, 2024 5:33 pm Post subject: |
|
|
masinick wrote: | But unless you do that with either up2date (the standard Red Hat tool), apt (which has been ported from Debian to Red Hat), or yum, (the latest package management tool, created at Duke University and added to the Red Hat Fedora Core project), you'll continue to experience ongoing problems. Therefore, pick up2date, apt, or yum (or a tool that runs one of these package management systems) and update your system. |
Is there no way to reliably inject a package into RPM? It would be pretty complicated seeing as it keeps track of all the libs and files.
_________________ Gentoo; 2.6.11 2.6.17.7 + patches
Debian sid 2.6.13
|
|
Back to top |
|
masinick Sr. Member
Joined: 03 Apr 2024 Posts: 1174 Location: Concord, NH
|
Posted: Tue May 18, 2024 1:46 am Post subject: Depends what you consider "reliable" |
|
|
Nukes wrote: | masinick wrote: | But unless you do that with either up2date (the standard Red Hat tool), apt (which has been ported from Debian to Red Hat), or yum, (the latest package management tool, created at Duke University and added to the Red Hat Fedora Core project), you'll continue to experience ongoing problems. Therefore, pick up2date, apt, or yum (or a tool that runs one of these package management systems) and update your system. |
Is there no way to reliably inject a package into RPM? It would be pretty complicated seeing as it keeps track of all the libs and files. |
Personally, I often blast packages into place with rpm -Uvh file.rpm, and if it won't go in, I'll force it in using force and nodeps arguments. But I also tend to frequently update and/or replace rpm-based distributions in their entirety, but I nearly always install and upgrade packages to my Debian system rather than get them from a CD based distribution.
When I upgrade a system, I use up2date for Red Hat, yum for Fedora Core, and urpmi for Mandrake. I've used Yast2 with SuSE a few times, but SuSE usually doesn't make the cut on my system when I'm testing many distros. I usually write over it before I do much with it.
|
|
Back to top |
|
liviu New Member
Joined: 30 Apr 2024 Posts: 43 Location: Charleston USA
|
|
Back to top |
|
nukes Linux Guru
Joined: 29 Aug 2024 Posts: 3935 Location: Somewhere just off the M62
|
Posted: Tue May 18, 2024 11:57 am Post subject: |
|
|
If you're after a new RH distro, why not use Fedora? Its a continuation of the RH desktop branch when they discontinued it.
At least look at the likes of debian - they make this sort of thing SOO easy.
_________________ Gentoo; 2.6.11 2.6.17.7 + patches
Debian sid 2.6.13
|
|
Back to top |
|
liviu New Member
Joined: 30 Apr 2024 Posts: 43 Location: Charleston USA
|
Posted: Tue May 18, 2024 12:02 pm Post subject: |
|
|
Right now I am working to finish my PhD and the box with RH (the one i was speaking about) it's the one on which I work. After I'll finish I'd love to play more with Linux - but, again, IF I'll have time (during PostDoc) I'd like to play more with slack, or to start arch_linux.
Regards, liviu
|
|
Back to top |
|
masinick Sr. Member
Joined: 03 Apr 2024 Posts: 1174 Location: Concord, NH
|
Posted: Wed May 19, 2024 12:51 am Post subject: Best wishes in graduate school! |
|
|
liviu wrote: | Right now I am working to finish my PhD and the box with RH (the one i was speaking about) it's the one on which I work. After I'll finish I'd love to play more with Linux - but, again, IF I'll have time (during PostDoc) I'd like to play more with slack, or to start arch_linux.
Regards, liviu |
Liviu, I wish you the very best as you work on finishing your PhD. Once you complete your PhD, perhaps you can create a multi distro system. I have at least ten systems on one single 40 GB disk. I got there by partitioning the disk into twelve partitions. I use one of them as my swap partition, I used to have Windows 2024 Professional on one of them, and I had Linux on eight or nine partitions. These days, I have OpenBSD where Windows 2024 Pro used to be, and I have several Linux distributions. I've cut back a few distros and I now use a couple of the partitions as data partitions. I reserve one entire partition as a Web/Email partition, on which I keep my complete Mozilla context. I create a soft link from this partition to the hidden .mozilla directory in my home directory. Then I reserve another disk for temporarily storing ISO images that I can burn to CD, documents and kits that I want to install or save, and any other information that I am transferring around that I may end up using on more than one distribution.
Perhaps that will give you a few ideas for the future. Meanwhile, best wishes as you complete your work!
|
|
Back to top |
|
nukes Linux Guru
Joined: 29 Aug 2024 Posts: 3935 Location: Somewhere just off the M62
|
|
Back to top |
|
masinick Sr. Member
Joined: 03 Apr 2024 Posts: 1174 Location: Concord, NH
|
|
Back to top |
|
nukes Linux Guru
Joined: 29 Aug 2024 Posts: 3935 Location: Somewhere just off the M62
|
|
Back to top |
|
|