compiling openmotif on Slackware 13.1
Hi,
I'm running 13.1 64bit with alienbob's multilib extension and want to add openmotif. I used Eric's Slackbuild from http://connie.slackware.com/~alien/s...enmotif/build/ applying it to openmotif-2.3.3 and succeeded in compiling the 64bit-version. Next I tried to compile in 32bit-mode, following alienbob instructions: move lib64 to lib in openmotif.Slackbuild export ARCH=x86_64 . /etc/profile.d/32dev.sh ./openmotif.Slackbuild linking stops with error-message Quote:
Specifically, where does /usr/lib64/gcc/ come from? Thx in advance, Markus |
On a side note, isn't compiling openmotif with libdir=/usr/lib{64} going to clobber the lesstif static libraries?
|
Quote:
Eric |
Quote:
This command can be used (to which package do <files> belong) grep "usr/lib64/gcc" /var/log/packages/* ..... |
Thanks for all the answers.
First, the side node: I didn't install lesstif, but only libXm.so.2 (manually), since xdvi is linked to it. Second, @knudfl: sorry for my verbalization: I know, where lib64/gcc is coming from. My question is: I expect "$. /etc/profile.d/32dev.sh" to choose the correct (32bit) linker. Did I forget something? |
Quote:
May be from : "" export ARCH=x86_64 "" Why do you write that, when you want an x86 result ? .. |
maybe, Eric can help?
http://connie.slackware.com/~alien/multilib/ Quote:
|
Sorry, I didn't know that, I avoid multilib.
But somewhere openmotif gets the idea, that a 64 bits gcc and a 64 bits linker is to be used. .. |
Porblem still not solved.
Any suggestions from the group? |
made another test and downgraded to 2.3.2:
openmotif now compiles the before mentioned code, but linker is connected to 64bit-path: Quote:
|
Quote:
First, select a directory to install the 32-bit slackware, e.g. /home/yourname/slack32_13.1 Then put the 32-bit packages somewhere, for example /tmp/source (directories a, ap etc are in there) Then, as root: Code:
# make dir for new OS Code:
# in the 64-bit parent os |
I just got another thought ...
QUOTE : Code:
/usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXext.so /usr/lib64/libXp.so -lz -L/usr/lib /usr/lib64/libXft.so /usr/lib64/libXrender.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libX11.so /usr/lib64/libjpeg.so /usr/lib64/libpng14.so How about changing the LD_LIBRARY_PATH before you run 'configure' : ( I guess, the problem is, that you have /usr/lib64/ first in the path.) export LD_LIBRARY_PATH=/lib32:/usr/lib32 etc. etc. ( I don't know actual names, multilib. "/usr/lib" ? ). Or may be : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib32:/usr/lib32 ... .. |
@Petri Kaukasoina:
Hi Petri, your post doesn't answer my question, but solves my problem! Thanks a lot for your tutorial! Just a hint for the archive: in the sequence above Quote:
Quote:
|
"removepkg lesstif" should work. See "man removepkg".
|
yes, you're right
|
All times are GMT -5. The time now is 11:34 PM. |