Author Topic: Libraries Dependencies Problem  (Read 10049 times)

xdivider

  • Newbie
  • *
  • Posts: 44
    • View Profile
Libraries Dependencies Problem
« on: September 23, 2007, 08:30:14 pm »
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

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Libraries Dependencies Problem
« Reply #1 on: September 24, 2007, 06:37:01 pm »
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167842\"][{POST_SNAPBACK}][/a][/div]
Yes, the 4.2 system cannot use 4.1 packages ...  
So may want to use the 4.2 packages in my feeds and start from there.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

xdivider

  • Newbie
  • *
  • Posts: 44
    • View Profile
Libraries Dependencies Problem
« Reply #2 on: September 24, 2007, 10:27:56 pm »
Quote
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167842\"][{POST_SNAPBACK}][/a][/div]
Yes, the 4.2 system cannot use 4.1 packages ...  
So may want to use the 4.2 packages in my feeds and start from there.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167914\"][{POST_SNAPBACK}][/a][/div]

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

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Libraries Dependencies Problem
« Reply #3 on: September 25, 2007, 02:54:45 am »
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167921\"][{POST_SNAPBACK}][/a][/div]
I am not sure if this is the case. I simply installed 4.2 right away and then the 4.2 packages.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

xdivider

  • Newbie
  • *
  • Posts: 44
    • View Profile
Libraries Dependencies Problem
« Reply #4 on: September 25, 2007, 04:00:07 am »
Quote
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167921\"][{POST_SNAPBACK}][/a][/div]
I am not sure if this is the case. I simply installed 4.2 right away and then the 4.2 packages.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167926\"][{POST_SNAPBACK}][/a][/div]

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

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Libraries Dependencies Problem
« Reply #5 on: September 25, 2007, 04:25:23 am »
Did you do upgrade or clean install?
I suppose a clean install will work.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

xdivider

  • Newbie
  • *
  • Posts: 44
    • View Profile
Libraries Dependencies Problem
« Reply #6 on: September 25, 2007, 04:31:43 am »
Quote
Did you do upgrade or clean install?
I suppose a clean install will work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167930\"][{POST_SNAPBACK}][/a][/div]

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

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Libraries Dependencies Problem
« Reply #7 on: September 25, 2007, 12:34:04 pm »
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.
« Last Edit: September 25, 2007, 12:34:27 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]