RE: libintl.so.5 not found and general ports question
Thats an old problem check the -current list for a libmap.conf discussion. Michael Clark Nemschoff Chairs Inc mclark at nemschoff dot com CompTIA A+, Network+, Server+, MCP Voice: (920) 457 7726 x294 Fax: (920) 453 6594 -Original Message- From: Gerry Freymann [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 9:54 AM To: [EMAIL PROTECTED] Subject: libintl.so.5 not found and general ports question How does one find out what port you need to install in order to get libintl.so.5 ? I've tried searching the online archives but can't find anything relevant. I'm trying to get apsfilter installed and it complains that libintl.so.5 can't be found. I must have had it one time because it was installed before (then I decided to update Mozilla which has had me running in circles for two weeks now with portupgrade). One other question... when I do a pkg_version -v, some programs are listed twice, like: autoconf-2.13.000227_5 = up-to-date with port autoconf-2.53_1 = up-to-date with port glib-1.2.10_10 = up-to-date with port glib-2.2.3_1= up-to-date with port libtool-1.3.5_1needs updating (port has 1.3.5_2) libtool-1.4.3_2needs updating (port has 1.4.3_3) libxml-1.8.17_1needs updating (port has 1.8.17_2) libxml2-2.6.8 = up-to-date with port My guess is, when I first set up my FreeBSD 4.9R machine, I used packages, and now I'm compiling ports. If you install a package and then update it via the ports tree, doesn't it understand that it's updating a package? I have cvsup'd the ports tree, and I've run pkgdb -F to correct things. Everything is running pretty good too (although I still have Mozilla). Thanks in advance for your responses. -gerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Mon, 5 Apr 2004 09:56:56 -0500 Michael Clark [EMAIL PROTECTED] wrote: |O|Thats an old problem check the -current list for a libmap.conf |O|discussion. Awh, but isn't libmap.conf on FreeBSD v5+ (I'm running 4.9R). I should also say that I still *don't* have Mozilla running but thank goodness for Konqueror ;-) -gerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Mon, Apr 05, 2004 at 10:53:48AM -0400, Gerry Freymann wrote: How does one find out what port you need to install in order to get libintl.so.5 ? libintl.so is provided by the devel/gettext port. Except that at the moment it supplies libintl.so.6. If you hang around on this list for longer than a week, you'll see someone asking a variant on this question, and the answer as oft repeated is: # portupgrade -fr gettext i.e. you need to recompile everything that links against libintl.so Then wait for a few months for the next release of gettext, when chances are the ABI version will be bumped again, and the lists will once again fill with wails of despair libintl.so.6 not found... One other question... when I do a pkg_version -v, some programs are listed twice, like: autoconf-2.13.000227_5 = up-to-date with port autoconf-2.53_1 = up-to-date with port glib-1.2.10_10 = up-to-date with port glib-2.2.3_1= up-to-date with port libtool-1.3.5_1needs updating (port has 1.3.5_2) libtool-1.4.3_2needs updating (port has 1.4.3_3) libxml-1.8.17_1needs updating (port has 1.8.17_2) libxml2-2.6.8 = up-to-date with port That's because you've got multiple versions of those ports installed simultaneously. Which is fine, for all of the examples you show, as they are all designed to be able to do that. In answer to your next question: no, generally you cannot get rid of one of those versions and have everything just use the other one -- the *reason* that there are multiple versions in the ports tree is that they are there to support various programs which have to use a newer or an older version. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: libintl.so.5 not found and general ports question
On Mon, 5 Apr 2004 16:22:46 +0100 Matthew Seaman [EMAIL PROTECTED] wrote: |O|libintl.so is provided by the devel/gettext port. Except that at the |O|moment it supplies libintl.so.6. |O|# portupgrade -fr gettext I could have sworn I've already done this. Probably did, but something else mucked it up. I'll have the computer do this again and see what happens. |O|That's because you've got multiple versions of those ports installed |O|simultaneously. Which is fine, for all of the examples you show, as |O|they are all designed to be able to do that. Sounds good then. Thanks for your response. -gerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
After doing a portupgrade -rf gettext... I went back to trying to install the apsfilter port. It would drop into /print/teTeX and /print/html2ps-letter and stop again with the libintl.so.5 not found error. If I build apsfilter without select HTML (which no longer makes it want teTeX and html2ps-letter) then apsfilter installs OK. Should I report this to the port manager? -gerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 11:27 am, Gerry Freymann wrote: After doing a portupgrade -rf gettext... I went back to trying to install the apsfilter port. It would drop into /print/teTeX and /print/html2ps-letter and stop again with the libintl.so.5 not found error. If I build apsfilter without select HTML (which no longer makes it want teTeX and html2ps-letter) then apsfilter installs OK. Should I report this to the port manager? No, it means you didn't do a portupgrade -rf gettext and that isn't a portmgr problem. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Mon, 5 Apr 2004 11:36:42 -0700 Kent Stewart [EMAIL PROTECTED] wrote: |O|No, it means you didn't do a |O|portupgrade -rf gettext I *did* to a portupgrade -rf gettext. But you may be on the right track regardless. There was one port skipped, /x11/kdelibs3. I have read lots to do with the port while searching to fix my problem. I suppose that's the next thing I should correct? and then I can finally get back to trying to compile flashplugin_mozilla and all of its requirements [which is where I started 2 weeks ago]. -gerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Mon, Apr 05, 2004 at 02:27:50PM -0400, Gerry Freymann wrote: After doing a portupgrade -rf gettext... I went back to trying to install the apsfilter port. It would drop into /print/teTeX and /print/html2ps-letter and stop again with the libintl.so.5 not found error. Something on your system links against libintl.so.5, and it would be one of the normal dependencies of apsfilter, but it wasn't installed as a port or pkg, so the ports system doesn't know how to update it? Possibly. If I build apsfilter without select HTML (which no longer makes it want teTeX and html2ps-letter) then apsfilter installs OK. Should I report this to the port manager? No -- I think something this obvious would have been noticed and fixed in pretty short order. Dollars to doughnuts it's something specific to your machine which is causing the problem. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 01:36 pm, Kent Stewart wrote: On Monday 05 April 2004 11:27 am, Gerry Freymann wrote: After doing a portupgrade -rf gettext... I went back to trying to install the apsfilter port. It would drop into /print/teTeX and /print/html2ps-letter and stop again with the libintl.so.5 not found error. If I build apsfilter without select HTML (which no longer makes it want teTeX and html2ps-letter) then apsfilter installs OK. Should I report this to the port manager? No, it means you didn't do a portupgrade -rf gettext and that isn't a portmgr problem. Kent The upgrade may have resulted in a later version, as my system is showing a libintl.so.6: ls /usr/local/lib/libintl.so* /usr/local/lib/libintl.so /usr/local/lib/libintl.so.6 What would happen if a link called /usr/local/lib/libintl.so.5 was created to point to the existing libintl.so.* file on Gerry's system? Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 11:44 am, Gerry Freymann wrote: On Mon, 5 Apr 2004 11:36:42 -0700 Kent Stewart [EMAIL PROTECTED] wrote: |O|No, it means you didn't do a |O|portupgrade -rf gettext I *did* to a portupgrade -rf gettext. But you may be on the right track regardless. There was one port skipped, /x11/kdelibs3. I have read lots to do with the port while searching to fix my problem. I suppose that's the next thing I should correct? and then I can finally get back to trying to compile flashplugin_mozilla and all of its requirements [which is where I started 2 weeks ago]. I expect that something out there is still trying to use gettext-1.12. FWIW, I thought I had jumped the gun with my comment and installed apsfilter with no options. I didn't have any problems. Glib-2 was upgraded recently and I have been building all of those and kdelibs is one of the ports affected. So far, the only port that didn't upgrade was mozilla-1.6. It is still looking for the old libglib. I also didn't have any problem updating kdelibs. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote: On Monday 05 April 2004 01:36 pm, Kent Stewart wrote: On Monday 05 April 2004 11:27 am, Gerry Freymann wrote: After doing a portupgrade -rf gettext... I went back to trying to install the apsfilter port. It would drop into /print/teTeX and /print/html2ps-letter and stop again with the libintl.so.5 not found error. If I build apsfilter without select HTML (which no longer makes it want teTeX and html2ps-letter) then apsfilter installs OK. Should I report this to the port manager? No, it means you didn't do a portupgrade -rf gettext and that isn't a portmgr problem. Kent The upgrade may have resulted in a later version, as my system is showing a libintl.so.6: ls /usr/local/lib/libintl.so* /usr/local/lib/libintl.so /usr/local/lib/libintl.so.6 What would happen if a link called /usr/local/lib/libintl.so.5 was created to point to the existing libintl.so.* file on Gerry's system? The library interface was changed and cross linking is a really bad idea. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Mon, 5 Apr 2004 11:54:37 -0700 Kent Stewart [EMAIL PROTECTED] wrote: |O|FWIW, I thought I had jumped the gun with my comment and installed |O|apsfilter with no options. I didn't have any problems. Yes, worked here fine with only SAMBA as additional selections from the defaults. |O|Glib-2 was upgraded recently I have both: glib-1.2.10_10 = up-to-date with port glib-2.2.3_1= up-to-date with port |O|was mozilla-1.6. It is still looking for the old libglib. I also |O|didn't have any problem updating kdelibs. Hmmm, and it's Mozilla that I was trying to update in the first place. Thanks to a note from Michael Nottebrock about 2 weeks ago, I'm told a good way to upgrade KDE is to: pkg_delete -f quanta\* kdevelop\* kde\* arts\* qt\* pkg_add -r kde My version of KDE is 3.14 so to update kdelibs3 I'm pretty well looking at having to update all of KDE, right? Thanks again for the reply. -Gerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
* Kent Stewart [EMAIL PROTECTED] [2004-04-05 12:06]: On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote: What would happen if a link called /usr/local/lib/libintl.so.5 was created to point to the existing libintl.so.* file on Gerry's system? The library interface was changed and cross linking is a really bad idea. I was able to work around the problem temporarily (on 4-stable) with the above method (symlink), but Kent is probably right that it's not an ideal solution. -- Joshua One of the advantages of being a captain is being able to ask for advice without necessarily having to take it. -- Kirk, Dagger of the Mind, stardate 2715.2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 12:03 pm, Gerry Freymann wrote: On Mon, 5 Apr 2004 11:54:37 -0700 Kent Stewart [EMAIL PROTECTED] wrote: |O|FWIW, I thought I had jumped the gun with my comment and | installed O|apsfilter with no options. I didn't have any problems. Yes, worked here fine with only SAMBA as additional selections from the defaults. |O|Glib-2 was upgraded recently I have both: glib-1.2.10_10 = up-to-date with port glib-2.2.3_1= up-to-date with port |O|was mozilla-1.6. It is still looking for the old libglib. I also |O|didn't have any problem updating kdelibs. Hmmm, and it's Mozilla that I was trying to update in the first place. Well, to get mozilla to build with the latest glib, I did a link I said not to do, i.e., ln -sf libglib-2.0.so.400 libglib-2.0.so.200 It is am using the new headers. It was the link part of the build that tried to use the wrong library. I am still trying to figure out what is wrong. That worries me less than a header for the old version of libintl being used to reference the new version. Thanks to a note from Michael Nottebrock about 2 weeks ago, I'm told a good way to upgrade KDE is to: pkg_delete -f quanta\* kdevelop\* kde\* arts\* qt\* pkg_add -r kde My version of KDE is 3.14 so to update kdelibs3 I'm pretty well looking at having to update all of KDE, right? I just fought that battle on an old system using packages from a working system. Are you in for fun :). I finally did a portupgrade -Pufr expat twice before I got a good upgrade from 3.1.4 to 3.2.1. Copy the list of ports that don't update and use that file as a reference for things to fix. The kde people's suggestion was probably an easier one. I had so much to update since I hadn't update that system since 4.9 was released. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 12:13 pm, Joshua Lokken wrote: * Kent Stewart [EMAIL PROTECTED] [2004-04-05 12:06]: On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote: What would happen if a link called /usr/local/lib/libintl.so.5 was created to point to the existing libintl.so.* file on Gerry's system? The library interface was changed and cross linking is a really bad idea. I was able to work around the problem temporarily (on 4-stable) with the above method (symlink), but Kent is probably right that it's not an ideal solution. It is worse than that. It is how off by one or many security problems crop up. You call a library function and it doesn't return what you think it was returning. Find out what is wrong and fix the problem. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 12:03 pm, Gerry Freymann wrote: On Mon, 5 Apr 2004 11:54:37 -0700 Kent Stewart [EMAIL PROTECTED] wrote: |O|FWIW, I thought I had jumped the gun with my comment and | installed O|apsfilter with no options. I didn't have any problems. Yes, worked here fine with only SAMBA as additional selections from the defaults. |O|Glib-2 was upgraded recently I have both: glib-1.2.10_10 = up-to-date with port glib-2.2.3_1= up-to-date with port I missed this part. The latest version is now glib-2.4.0. When I updated to it, is when the fun began. If you don't need to update glib, I would fight your upgrade through before you add additional problems. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 02:23 pm, Kent Stewart wrote: On Monday 05 April 2004 12:13 pm, Joshua Lokken wrote: * Kent Stewart [EMAIL PROTECTED] [2004-04-05 12:06]: On Monday 05 April 2004 11:51 am, Andrew L. Gould wrote: What would happen if a link called /usr/local/lib/libintl.so.5 was created to point to the existing libintl.so.* file on Gerry's system? The library interface was changed and cross linking is a really bad idea. I was able to work around the problem temporarily (on 4-stable) with the above method (symlink), but Kent is probably right that it's not an ideal solution. It is worse than that. It is how off by one or many security problems crop up. You call a library function and it doesn't return what you think it was returning. Find out what is wrong and fix the problem. Kent Thank you for the warning and example. Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 12:37 pm, Gerry Freymann wrote: On Mon, 5 Apr 2004 12:29:38 -0700 Kent Stewart [EMAIL PROTECTED] wrote: |O| I have both: |O| |O| glib-1.2.10_10 = up-to-date with port |O| glib-2.2.3_1= up-to-date with port |O| |O| |O|I missed this part. The latest version is now glib-2.4.0. When I |O|updatedto it, is when the fun began. If you don't need to update |O|glib, I would fight your upgrade through before you add | additional O|problems. Hmmm. I program on this box all day long so perhaps I'll wait 'till the weekend before I kill off KDE ;-) That is probably a good idea big grin. Kde-3.2.1 takes a long time to build and programming from the cli is similar to calling ed a screen editor. I think the upgrade is worth it. It just takes a while to do. One more thing. After the upgrade from kde-3.1.4 to 3.2.1, most of the application buttons were messed up. I finally did an rm -rf .kde* from my home directory. Make sure you have your email address book and bookmarks saved before you do anything drastic like that. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: libintl.so.5 not found and general ports question
On Monday 05 April 2004 02:03 pm, Gerry Freymann wrote: On Mon, 5 Apr 2004 11:54:37 -0700 Kent Stewart [EMAIL PROTECTED] wrote: |O|FWIW, I thought I had jumped the gun with my comment and installed |O|apsfilter with no options. I didn't have any problems. Yes, worked here fine with only SAMBA as additional selections from the defaults. |O|Glib-2 was upgraded recently I have both: glib-1.2.10_10 = up-to-date with port glib-2.2.3_1= up-to-date with port |O|was mozilla-1.6. It is still looking for the old libglib. I also |O|didn't have any problem updating kdelibs. Hmmm, and it's Mozilla that I was trying to update in the first place. Thanks to a note from Michael Nottebrock about 2 weeks ago, I'm told a good way to upgrade KDE is to: pkg_delete -f quanta\* kdevelop\* kde\* arts\* qt\* pkg_add -r kde My version of KDE is 3.14 so to update kdelibs3 I'm pretty well looking at having to update all of KDE, right? Thanks again for the reply. -Gerry It's easy to get lost in the syncing mess. I'm running 4.9 STABLE, that was originally installed from a FreeBSD 4.7 CD. I've kept the system updated via cvsup; but twice have cleaned/sync'd the system up as follows: 0. Make backups of system and dump files for version-sensitive objects such as database files, etc. 1. Update the system via cvsup. 2. Compile and install updated system and kernel. 3. Get a list of installed packages using pkg_info. 4. From step 3, make a list of packages that I installed **explicitly**. (I ignore dependencies -- pkg_add and ports will resolve these.) 5. From step 4, divide the list into packages to be compiled and packages that can be installed using binaries. (I only compile a couple of apps.) 6. Write a script to install the packages (from binaries) via 'pkg_add -r' 7. Delete all packages using 'pkg_delete -a' and reboot. 8. Install python. (I wrote the script in python.) 9. Reinstall packages using script in step 6. 10. Reinstall packages to be compiled manually from ports. Steps 3-5 give me the opportunity to omit packages I no longer use. I've used 'portupgrade -arRP'; but it still seems to compile a lot of packages and it won't help me prepare for a clean jump to FreeBSD 5*. I've been keeping the lists of packages up-to-date, on a floppy for when I install FreeBSD 5* (STABLE). I'll do a clean system installation; and then I'll install the packages I want from the list. Best of luck, Andrew Gould ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]