Help - Search - Members - Calendar
Full Version: Libraries Dependencies Problem
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > OpenBSD
xdivider
Hi, was playing with the 4.2 snapshot yesterday but couldn't run a lot of programs like X which required 4.1 libs. I installed 4.1 lafter that and while trying to grab some precompiled packahes, i found that a lot of the packages required libraries like libX11.so.10.0 that was in 4.2. So did I miss any steps in installing 4.1? I did install 4.1 ipk->install OpenBSD->ftp install of 4.1-> trying to pkg_add from the depositories.
ZDevil
QUOTE(xdivider @ Sep 24 2007, 02:30 AM)
Hi, was playing with the 4.2 snapshot yesterday but couldn't run a lot of programs like X which required 4.1 libs. I installed 4.1 lafter that and while trying to grab some precompiled packahes, i found that a lot of the packages required libraries like libX11.so.10.0 that was in 4.2. So did I miss any steps in installing 4.1? I did install 4.1 ipk->install OpenBSD->ftp install of 4.1-> trying to pkg_add from the depositories.
*

Yes, the 4.2 system cannot use 4.1 packages ... tongue.gif
So may want to use the 4.2 packages in my feeds and start from there.
xdivider
QUOTE(ZDevil @ Sep 24 2007, 10:37 PM)
QUOTE(xdivider @ Sep 24 2007, 02:30 AM)
Hi, was playing with the 4.2 snapshot yesterday but couldn't run a lot of programs like X which required 4.1 libs. I installed 4.1 lafter that and while trying to grab some precompiled packahes, i found that a lot of the packages required libraries like libX11.so.10.0 that was in 4.2. So did I miss any steps in installing 4.1? I did install 4.1 ipk->install OpenBSD->ftp install of 4.1-> trying to pkg_add from the depositories.
*

Yes, the 4.2 system cannot use 4.1 packages ... tongue.gif
So may want to use the 4.2 packages in my feeds and start from there.
*



When I installed the 4.2 snapshot directly, there was a lot of programs like X that needs 4.1 libs. So The correct install path for 4.2 is openbsd install -> 4.1 -> 4.2 upgrade b4 installing 3rd parties?
ZDevil
QUOTE(xdivider @ Sep 25 2007, 04:27 AM)
When I installed the 4.2 snapshot directly, there was a lot of programs like X that needs 4.1 libs. So The correct install path for 4.2 is openbsd install -> 4.1 -> 4.2 upgrade b4 installing 3rd parties?
*

I am not sure if this is the case. I simply installed 4.2 right away and then the 4.2 packages.
xdivider
QUOTE(ZDevil @ Sep 25 2007, 06:54 AM)
QUOTE(xdivider @ Sep 25 2007, 04:27 AM)
When I installed the 4.2 snapshot directly, there was a lot of programs like X that needs 4.1 libs. So The correct install path for 4.2 is openbsd install -> 4.1 -> 4.2 upgrade b4 installing 3rd parties?
*

I am not sure if this is the case. I simply installed 4.2 right away and then the 4.2 packages.
*



Found out why. 2 problems with a clean 4.2 snapshot
1) /usr/local/lib and /usr/X11R6/lib not in the ldconfig cache. Manually refreshed
2) Some packages needs libc.so.40.3. in 4.1 but not 4.2. Softlinked to the libc.so.42.0
ZDevil
Did you do upgrade or clean install?
I suppose a clean install will work.
xdivider
QUOTE(ZDevil @ Sep 25 2007, 08:25 AM)
Did you do upgrade or clean install?
I suppose a clean install will work.
*


Tried both. The key point is 4.1 installs libc.so.40.3 and 4.2 installs libc.so.42.0 only. A soft link to libc.so.41.0 is needed. The part that make me wonder is that the snapshot seem to have forgotten about /usr/local/lib and /usr/X11R6/lib. I assumed if I tried to upgrade from 4.1 which works out of box, then the ld cache is generated automatically. Din work that way however.
ZDevil
It's a pity that I cannot look into this for the moment, as my 3200 is now trying out Debian (Titchy Linux). Perhaps other skilled hands will help you out.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.