Dependency problem

I was going to install Bochs, but I got this dependency error:

Dependency: requires that a package with a "ProvidesLibrary" of libSM.so.6.0 and a "Processor" of x86 also be installed.

What do I need for this? How do I install x86?

I’m not in QNX at this moment, but look in /lib or /usr/lib or /opt/lib and see if you can find libSM.so. If its there just symlink it. Example… ln -s /opt/lib/libSM.so /opt/lib/libSM.so.6.0. If i remember correctly that version of bochs was built on 6.1/6.2.0 so some of the libs may be named differently.

If the lib isnt there, you may be missing a required package that includes libSM.

Good luck :smiley:

libSM is a library from XFree86. Depending on where you get the XFree86 package, you should find it in either /opt/X11R6/lib or /usr/X11R6/lib.

I used the ln -s /opt/X11R6/lib/libSM.so /opt/X11R6/lib/libSM.so.6.0 and it still said it couldn’t find it when I tried to install. What’s wrong?

Its a tedious process… bochs is looking for the libs in /usr/X11R6/lib rather than in /opt/X11R6/lib. So heres what i did. Mkdir /usr/X11R6/lib then just symlinked every dependency to /usr/X11R6/lib.

ln -s /opt/X11R6/lib/libSM.so.6 /usr/X11R6/lib/libSM.so.6.0
ln -s /opt/X11R6/lib/libICE.so.6 /usr/X11R6/lib/libICE.so.6.3
ln -s /opt/X11R6/lib/libX11.so.6 /usr/X11R6/lib/libX11.so.6.1

Cheers. :smiley:

ln -s /opt/X11R6 /usr/X11R6

would have been easier… ;-)

Rick…

Thanks guys, I owe ya one. At least now this is here for anyone trying to set up Bochs.

Problem. I followed the directions exactly, and I’m still getting the same errors!

Its probably qnxinstalls fault. If you know the symlinks are there and in the correct directories just use the “ignore and install anyway” option. Bochs will install but will show up as disabled. Now uninstall bochs, close qnxinstall and restart qnxinstall and reinstall bochs. It shouldnt complain about deps anymore.

Im assuming the installer doesnt notice the symlinks right away as maybe it holds a cache of some sort. Doing the above worked for me on 6.2.1 (havent tried it on 6.3.0 yet).

Cheers :smiley:

Ok, I tried what you said, and it still gave me the errors. I checked the logs and found the folowing problems:

09:40:42 WARNING: Unresolvable union (…/…/…/opt/share/phchess)
09:40:43 WARNING: Unresolvable symlink (/home/cdm/cvs/unsupported/open/libpng/libpng-1.0.13/qnx/usr/lib/libpng10.a)
09:40:43 WARNING: Unresolvable symlink (libdb-4.0.a)
09:40:43 WARNING: Unresolvable symlink (libpng10)
09:40:43 WARNING: Unresolvable symlink (libpng/png.h)
09:40:43 WARNING: Unresolvable symlink (libpng/pngconf.h)
09:40:43 WARNING: Unresolvable symlink (…/…/…/…/opt/LessTif/doc)
09:40:43 WARNING: Unresolvable symlink (…/…/…/…/opt/rp/ipaq/docs)
09:40:43 WARNING: Unresolvable symlink (libdb-4.0.a)
09:40:43 WARNING: Unresolvable symlink (…/…/…/…/…/etc/X11/xkb)
09:40:51 WARNING: Unresolvable union (…/…/…/opt/share/phchess)
09:40:52 WARNING: Unresolvable symlink (/home/cdm/cvs/unsupported/open/libpng/libpng-1.0.13/qnx/usr/lib/libpng10.a)
09:40:52 WARNING: Unresolvable symlink (libdb-4.0.a)
09:40:52 WARNING: Unresolvable symlink (libpng10)
09:40:52 WARNING: Unresolvable symlink (libpng/png.h)
09:40:52 WARNING: Unresolvable symlink (libpng/pngconf.h)
09:40:52 WARNING: Unresolvable symlink (…/…/…/…/opt/LessTif/doc)
09:40:52 WARNING: Unresolvable symlink (…/…/…/…/opt/rp/ipaq/docs)
09:40:52 WARNING: Unresolvable symlink (libdb-4.0.a)
09:40:52 WARNING: Unresolvable symlink (…/…/…/…/…/etc/X11/xkb)

Wild. I havent the slightest idea why you got all those errors. Most of those unreasolved symlinks have nothing to do with bochs (libpng and possibly xkb might be the only 2 that would make sense).

Have you ever had the power go out or reset the power without rebooting/shutting down? It may be possible that you have a corrupted file system. As root run /sbin/chkfsys / and see if that helps at all.