problems adding packages in 3.7
Hi Folks, I'm getting errors about missing libraries while adding packages to a 3.7 system. This was a new install with 3.7 so there should not be any old stuff laying around -bash-3.00$ sudo pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/recode-3.6p1.tgz Can't install ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/recode-3.6p1.tgz: lib not found intl.1.1 Even by looking in the dependency tree: libiconv-1.9.2, gettext-0.10.40p2 Maybe it's in a dependent package, but not tagged with @lib ? (check with pkg_info -K -L) If you are still running 3.6 packages, update them. -bash-3.00$ uname -a OpenBSD matata.insec.auckland.ac.nz 3.7 GENERIC#50 i386 I understand that it can not find lib intl.1.1 and that it has looked for it in the package dependencies. However I don't understand what it is suggesting I do with pkg_info (yes I've read the man page). A little more guidance would be appreciated. Cheers, Russell
Re: problems adding packages in 3.7 -- solved
It has just been pointed out to me (off list) that I was loading the package from the 3.6 tree. Doh!!! Russell Russell Fulton wrote: Hi Folks, I'm getting errors about missing libraries while adding packages to a 3.7 system. This was a new install with 3.7 so there should not be any old stuff laying around -bash-3.00$ sudo pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/recode-3.6p1.tgz Can't install ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/recode-3.6p1.tgz: lib not found intl.1.1 Even by looking in the dependency tree: libiconv-1.9.2, gettext-0.10.40p2 Maybe it's in a dependent package, but not tagged with @lib ? (check with pkg_info -K -L) If you are still running 3.6 packages, update them. -bash-3.00$ uname -a OpenBSD matata.insec.auckland.ac.nz 3.7 GENERIC#50 i386 I understand that it can not find lib intl.1.1 and that it has looked for it in the package dependencies. However I don't understand what it is suggesting I do with pkg_info (yes I've read the man page). A little more guidance would be appreciated. Cheers, Russell
Re: problems adding packages in 3.7
On Thu, Jul 28, 2005 at 10:42:25AM +1200, Russell Fulton wrote: I'm getting errors about missing libraries while adding packages to a 3.7 system. This was a new install with 3.7 so there should not be any old stuff laying around -bash-3.00$ sudo pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/recode-3.6p1.tgz Adding 3.6 packages to a 3.7 system may be a little bit unsupported.
Re: problems adding packages in 3.7
Russell Fulton wrote: Hi Folks, I'm getting errors about missing libraries while adding packages to a 3.7 system. This was a new install with 3.7 so there should not be any old stuff laying around -bash-3.00$ sudo pkg_add ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/recode-3.6p1.tgz Can't install ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/recode-3.6p1.tgz: lib not found intl.1.1 Even by looking in the dependency tree: libiconv-1.9.2, gettext-0.10.40p2 Maybe it's in a dependent package, but not tagged with @lib ? (check with pkg_info -K -L) If you are still running 3.6 packages, update them. -bash-3.00$ uname -a OpenBSD matata.insec.auckland.ac.nz 3.7 GENERIC#50 i386 I understand that it can not find lib intl.1.1 and that it has looked for it in the package dependencies. However I don't understand what it is suggesting I do with pkg_info (yes I've read the man page). A little more guidance would be appreciated. Cheers, Russell It looks like your command is searching for packages in the 3.6 directory, not the 3.7 directory: ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/ should be: ftp://ftp.openbsd.org/pub/OpenBSD/3.7/packages/i386/ -- Joe