SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed multilib compatibility, and motif widgets, which I have compiled for 64bits arch, because I had to compile an app who called for them... OpenDX.
Now that I am about to install a 32 bit app that calls for libXm.so.3 ( motif widgets installed .so.4, and .so.2 )
Would it be enough to recompile for ARCH=i486... ?
In this case to which folder would the 32bit libXm.so.2 and libXm.so.4 go...? ( would they still be found by the app, or shoud i anex its path to LD_LIBRARY_PATH in the install shell...? )
Guess it would be enough to hack a simlink called libXm.so.3 pointing to my 32 bit libXm so.4(2)... am i right... ?
Or is libXm.so.3 a completely different kind of "animal" fom libXm.so.2(4)...?
AFAIK there is something called OpenMOTIF, and another thing called Lesstif...
Sourcing the "32dev.sh" script is only needed when compiling 32-bit software... not when installing 32-bit software. If you want to install a 32-bit openmofig package in Slackware64, I would suggest using "convertpkg-compat32" to create a 32-bit package that will not conflict with the 64-bit openmotif package (in case you ever want to install that as well).
Quote:
Where will the 32bit binaries lsnd in this case...? ( is the default target directory sensible to the sourcing of this environment... ? )
"when I installpkg a package resulting from, say convertpkg-compat32 <foo.tgz>, the resulting shared objects are put into /usr/lib ? "
More specifically :
I have followed your advice as how to obtain a 32 bit package of OpenMotif-2.2.2 so as to have a libXm.so.3 in my system...
So... I grabbed http://slackware.osuosl.org/slackwar...2.2-i486-1.tgz, a 32bit package from Slackware 10.2, and as you advised me, I ran convertpkg-compat32 over it to obtain openmotif-compat32-2.2.2-x86_64-1.txz, I installpkg'ed it, so it went somewhere... I found the required libs in /usr/X11R6/lib...
I tried to Install an application that calls for 32bit OpenMotif 2.2.2, ProEngineer Wildfire 3...
First try : Without sourcing the 32bit env script from /etc/... I ran the installer from ProEngineer, it reported missing libXm.so.3... So, I sourced the 32bit environment... ran into the same problem.
Second try : Almost the same as the first try, only variation being that I extended the LD_LIBRARY_PATH to include /usr/X11R6/lib before sourcing the 32 bit environment script... still the installer would not find the created libXm.so.3 where i told him it would be...
Seems like I am doind something n00bish os stupid... but i do not know what...
I have followed your advice as how to obtain a 32 bit package of OpenMotif-2.2.2 so as to have a libXm.so.3 in my system...
So... I grabbed http://slackware.osuosl.org/slackwar...2.2-i486-1.tgz, a 32bit package from Slackware 10.2, and as you advised me, I ran convertpkg-compat32 over it to obtain openmotif-compat32-2.2.2-x86_64-1.txz, I installpkg'ed it, so it went somewhere... I found the required libs in /usr/X11R6/lib..
That is a very old package! It is also for a version of X that is not compatible with Slackware 13.0 which is probably the reason that the libs are not detected after installation.
Uninstall that, and then try converting this package instead (but since it overwrites parts of the "lesstif" package you have to remove the lesstif package too before installing the new openmotif): http://slackware.com/~alien/slackbui...otif/pkg/13.0/
I Already have this installed as x86_64 arch I do not needed it 32bit anyway... needed it to compile OpenDX ( Data eXplorer from IBM )
...the problem is that this will give me libXm.so.4 ( which I have allright ...)
... well Pro Engineer calls for libXm.so.3
Do you think that converting this package to 32 bit and installing it and then making a symlink to 32 bit libXm.so.4 called libXm.so.3 will solve the issue...? ...Won't there be unknown symbols issues and stuff...?
You'll only find out by creating the symlink and looking at what happens...
Alternatively, you can grab the openmotif-2.2.2 source, modify my openmotif.SlackBuild (hopefully the only thing needed is changing the VERSION number) and create a 32-bit package for this version yourself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.