![]() |
|
|||||||
| OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Hello,
I'm novice here, i'm trying to install the package : php5-core... So i have done : pkg_add -v php5-core 2> error.txt Here my error.txt : Can't install php5-core-5.2.10: lib not found stdc++.47.0 how can i install stdc++ lib ? My project : install GLPI Thank's |
|
||||
|
/usr/lib/libstdc++.so.47.0 should have been included in your base46.tgz file set, and would have been installed at OS install time. First things first, double check to see if the file is there. If it isn't, you have a damaged /usr/lib. (No, I cannot tell you why it isn't there, and yes, you will have to reinstall the OS to ensure any other damage is eliminated.)
But if it the library is there, it is always possible that php5-core needs the comp46.tgz fileset added, which includes /usr/lib/libstdc++a. If you have not installed the comp46.tgz fileset, and you do have /usr/lib/libstdc++.so.47.0, then follow FAQ 4.11 to add comp46.tgz to your system, and see if that solves your problem.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
It isn't there !
Perhaps my install46.iso is damaged or bad sectors on hard disk ?.! Thank's to your reply |
|
||||
|
It is unlikely that the .iso was damaged, because the ramdisk kernel will compare SHA checksums against the base46.tgz file. If you still have the .iso handy, you can inspect the contents of the base46.tgz fileset yourself.
It is unlikely that hard drive bad sectors are the cause, either, as you would get I/O error messages on sector reads, not missing files. The most likely cause is a finger fumble of some kind while you were logged in as root. Best practice for admins is to use sudo(8) or su(1) and a normal user, to prevent mistakes of this kind. If you do not have a recent backup which is undamaged, you -must- reinstall, as merely recreating the library file will not ensure a complete and undamaged system.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
If my guess is correct, please note this comment from afterboot(8) man page:
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Hello,
I reinstalled OpenBSD and use command su to install it. Thank's Jggimi! Now an other question, perhaps stupid for you : I done a "clear" command after install it, but i forgotten to read instruction after install php5-core. How can i review the instruction " ln -s ....) ?? Thank's |
|
||||
|
See the man page for pkg_info(8). Look for the -M option.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Berumen, this is the second time you have responded to a thread that is more than six months old. In general, threads are quite timely. If the OP hasn't responded within a week, most likely the discussion is over.
It is not clear why you are resurrecting such old threads. |
|
||||
|
I can think of only one possibility: Berumen is so angry about his PHP upgrade issue, he not only didn't notice dates, he didn't even notice the OS, nor the specific port/package discussion.
While I am not a PHP user, I can read CVS logs. The OpenBSD port of php5-core moved to 5.1.6 in 2006. It was included in OpenBSD 4.1-release. 4.1 has not been supported since 1 May 2008. The first release of php5 ported to OpenBSD was 5.1.4. I think Berumen should be either complaining about a port of php5 on a different OS, or perhaps upstream to php development, if he ported these older releases himself. This is the wrong thread in which to complain about his missing five hours.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SLiM core dumps | marc | OpenBSD Packages and Ports | 7 | 31st October 2009 05:47 PM |
| fbsd 7.2 and php5 | baraboom | FreeBSD Ports and Packages | 2 | 9th July 2009 08:33 PM |
| apache2.2+PHP5 | edvinus | OpenBSD Packages and Ports | 1 | 29th June 2009 08:13 PM |
| Problem with upgrading php5-pcre and php5-mysql | KernelPanic | FreeBSD Ports and Packages | 6 | 16th June 2008 10:00 PM |
| Dual core and FreeBSD | ViperChief | FreeBSD General | 13 | 2nd June 2008 08:30 PM |