Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

OpenMandriva install script 8 years 8 months ago #7702

  • Aleksandar
  • Aleksandar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 150
  • Thank you received: 31
When you try to install system libraries on OpenMandriva Lx 2014.2, you get this error:

[ER-INFO] /usr/lib64/libgobject-2.0.so.0 OR
/usr/local/lib64/libgobject-2.0.so.0 NOT Exists ???, can't make symlink for: libgobject-2.0.so
[ER-INFO] /usr/lib64/libglib-2.0.so.0 OR
/usr/local/lib64/libglib-2.0.so.0 NOT Exists ???, can't make symlink for: libglib-2.0.so
[ER-INFO] /usr/lib64/libgthread-2.0.so.0 OR
/usr/local/lib64/libgthread-2.0.so.0 NOT Exists ???, can't make symlink for: libgthread-2.0.so
[ER-INFO] /usr/lib64/libgmodule-2.0.so.0 OR
/usr/local/lib64/libgmodule-2.0.so.0 NOT Exists ???, can't make symlink for: libgmodule-2.0.so

Those libraries are not missing, they just not where you expected that they would be:

$ locate libgobject
/lib/libgobject-2.0.so.0
/lib/libgobject-2.0.so.0.4002.0
/lib64/libgobject-2.0.so.0
/lib64/libgobject-2.0.so.0.4002.0
/usr/lib/libgobject-2.0.a
/usr/lib/libgobject-2.0.so

As far as I see you only expect to have libraries in two folders:
vOSLibDir=/usr/$vOSLibSub
vOSLocalLinDir=/usr/local/$vOSLocalLinSub

I can make symliks for missing libraries manually as temp workaround if you do not have any better solution. :blink:

EDIT: I noticed some issues in ln1_Install_SysLibraries_For_OpenMandriva.sh script

First I noticed that you have those lines two times each:
sudo urpmi --auto -a glib
sudo urpmi --auto -a lib64gthread2.0_0
sudo urpmi --auto -a libgthread2.0_0
Not important, but remove them to make script more clear.

And now important thing. This package does not exists any more:
sudo urpmi --auto -a gtk2-devel

Actually this is not good package either, so please ignore:

It should be replaced with
sudo urpmi --auto -a gtk+-2.0


From the OpenMandriva dev team:
"Old style *-devel is used only in special cases, i.e. where package does not provide *.pc files"

There is also one thing that I will never understand. Why 100dpi and 75dpi xorg fonts are required?

Please Log in or Create an account to join the conversation.

Last edit: by Aleksandar.

OpenMandriva install script 8 years 8 months ago #7706

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Thanks Sir
give us 2-3 days to test OpenMandriva
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

OpenMandriva install script 8 years 8 months ago #7770

  • Aleksandar
  • Aleksandar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 150
  • Thank you received: 31

sternas wrote: Thanks Sir
give us 2-3 days to test OpenMandriva


I just realized that install scripts for all Mandriva based distributions have one potentially big issue!

They all use sudo urpmi --auto -a

I guess that plan was to emulate yum install -y or apt-get install -y. In that case you should use sudo urpmi --auto, but you did something completely different.

If you check urpmi help, you will find this info: -a - select all matches on command line.

It's not a problem by itself, but it will show it's ugly side on x64 platform when you try to install some library that have both versions (32 and 64 bit) and where those libraries have same files inside and conflict between them occurs because of that.

For example if you do sudo urpmi --auto -a libx11-devel this will happen (this is only small snippet from very long list):
file /usr/share/man/man3/xcb_xvmc_destroy_subpicture.3.xz from install of libxcb-devel-1.10-4.1.i586 conflicts with file from package lib64xcb-devel-1.10-4.1.x86_64
file /usr/share/man/man3/xcb_xvmc_destroy_surface.3.xz from install of libxcb-devel-1.10-4.1.i586 conflicts with file from package lib64xcb-devel-1.10-4.1.x86_64
file /usr/share/man/man3/xcb_xvmc_list_subpicture_types.3.xz from install of libxcb-devel-1.10-4.1.i586 conflicts with file from package lib64xcb-devel-1.10-4.1.x86_64

I am pretty sure that your intention was completely different.

When you remove -a switch, you will need to add some more platform checks in order to find appropriate library. For example libx11-devel will try to install i586 package and will have a lot of conflicts with x64 version of same package. For x64 this should be sudo urpmi --auto lib64x11-devel.

In case of OpenMandriva x64, this commands are safe (I just tested them):
sudo urpmi --auto xterm
sudo urpmi --auto zip
sudo urpmi --auto unzip
sudo urpmi --auto wget

sudo urpmi --auto make 
sudo urpmi --auto gcc
sudo urpmi --auto gcc-c++
sudo urpmi --auto gdb 
sudo urpmi --auto binutils

sudo urpmi --auto glib-devel
sudo urpmi --auto glibc-devel
sudo urpmi --auto lib64x11-devel
sudo urpmi --auto mesa-common-devel

sudo urpmi --auto lib64glu1
sudo urpmi --auto lib64gthread2.0_0
sudo urpmi --auto lib64gmodule2.0_0 
sudo urpmi --auto lib64glib2.0_0

sudo urpmi --auto libglu1
sudo urpmi --auto libgthread2.0_0
sudo urpmi --auto libgmodule2.0_0 
sudo urpmi --auto libglib2.0_0

sudo urpmi --auto cairo-devel 
sudo urpmi --auto pango-devel

sudo urpmi --auto gtk+2.0-devel 
sudo urpmi --auto gtk+3.0-devel
sudo urpmi --auto qt4-devel
sudo urpmi --auto qt5-devel

Those are conflicting ones:
sudo urpmi --auto libx11-devel
sudo urpmi --auto libqtwebkit-devel

It's 2AM and I am working in the morning, so I really do not have more strength, time or will to test this anymore at this moment.

Please Log in or Create an account to join the conversation.

Last edit: by Aleksandar.

OpenMandriva install script 8 years 8 months ago #7771

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
It's 4 AM and I working too Sir
give us time to test OpenMandriva
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1